Forum Discussion
MauriceMecowe
Resolver II
7 years agoIF statement in measure
I’m trying to compare the Turnover per ID (OID) from 2 systems. If they don’t match the difference is calculated with a measure as in the picture below. I would like to add another measure that does ...
- 7 years ago
MatchFlag = IF( [Delta Turnover Detailed] = 0, "Match", "No Match")
Cmcmahan
Resident Rockstar
7 years agoMatchFlag = IF( [Delta Turnover Detailed] = 0, "Match", "No Match")
MauriceMecowe
Resolver II
7 years agoAwesome Cmcmahan , that does the trick! Just one more question, is it possible to use this also as a filter?
So I can filter the table on whether it's a match or not?
- Cmcmahan7 years ago
Resident Rockstar
You can filter on the measure in the visual level filter if the measure is part of the displayed data.
If not, you need to set it up as a calculated column, and then you can slice/filter on that.
- MauriceMecowe7 years ago
Resolver II
Tha's unfortunately not possible, since it'll say I have a circular dependency...
- Cmcmahan7 years ago
Resident Rockstar
What's the circular dependency?