Using multiple IF statements with OR in Tag Properties

@Dmart, a few reasons I avoid using tag():

  1. Performance:
  1. Readability: the OP's expression would be much shorter and easier to read if made of short custom property names rather than the tag() expressions.

  2. Read/write Binding: This only matters when you need to write, but the tag() instruction doesn't support writing.

  3. Flexibility/maintainability: I find it's generally easier to test/troubleshoot/add to something broken into simple component parts, rather than one big expression. Although I'll admit to creating a few multi-screen expressions early on, I probably wouldn't do that if recreating them now.

2 Likes