Use SETs to compare the same measure with two different versions of filters

https://community.tableau.com/s/question/0D58b00009nRmUrCAK/is-there-a-way-to-compare-the-same-measure-with-two-different-versions-of-filters 

Example of 2 measures that each reference different SETs:

  1. // Sales for the East region.
  2. IF [Region]="East" AND [Segment Set Measure 1] AND [Category Set Measure 1] THEN
  3. // All conditions true.
  4. [Sales]
  5. ELSE
  6. 0
  7. END
  1. // Sales for the West region.
  2. IF [Region]="West" AND [Segment Set Measure 2] AND [Category Set Measure 2] THEN
  3. // All conditions true.
  4. [Sales]
  5. ELSE
  6. 0
  7. END

Comments

Popular posts from this blog

The (Almost) Definitive Guide to Show/Hide Buttons in Tableau Dashboards