Forum Discussion
Harry1980
4 years agoHelper I
Check for different values in the same row
Hi, I would like to create a measure which is checking whether a row contains different values. Actually in my company we have several affiliated entities. And it might occur that 2 (or even mor...
- Anonymous4 years ago
The Answer is Here.
Measure = VAR _count = CALCULATE ( DISTINCTCOUNT ( 'Table (7)'[Price] ), ALLEXCEPT ( 'Table (7)', 'Table (7)'[Material ID] ) ) RETURN IF ( _count = 1, "FALSE", "TRUE" )
Anonymous
4 years agoNot applicable
The Answer is Here.
Measure =
VAR _count =
CALCULATE (
DISTINCTCOUNT ( 'Table (7)'[Price] ),
ALLEXCEPT ( 'Table (7)', 'Table (7)'[Material ID] )
)
RETURN
IF ( _count = 1, "FALSE", "TRUE" )Harry1980
4 years agoHelper I
Anonymous , it is working as expected. Thank you very much. Your support is much appreciated