Forum Discussion
erezbenmoshe
Advocate I
8 years agoCount equal values across two rows
I am trying to write a measure that counts the number of [Id] where [Total] is the same for the two [Datatype]s, method1 and me...
- 8 years ago
Here is a MEASURE
Measure = COUNTX ( FILTER ( VALUES ( Table1[ID] ), CALCULATE ( SUM ( Table1[Total] ), Table1[Data Type] = "Method1" ) = CALCULATE ( SUM ( Table1[Total] ), Table1[Data Type] = "Method2" ) ), 1 )
Ashish_Mathur
Super User
8 years agoHi,
Will there only be 2 data types or can there be more as well?
erezbenmoshe
Advocate I
8 years agoOnly 2 data types