Forum Discussion
Anonymous
7 years agoNot applicable
Getting Distinct Count for only certain values based on values in another column
Hello all, I have a table that looks something along the lines of this: ID Status Number 100 1 100 2 100 ...
- 7 years ago
Hello Anonymous
Here is a measure that should do what you want:
Distinct IDs Status not 2,5,7 = CALCULATE ( DISTINCTCOUNT ( YourTable[ID] ), NOT YourTable[Status Number] IN { 2, 5, 7 } )Does that work for you?
Regards,
Owen
OwenAuger
7 years agoSuper User
Hello Anonymous
Here is a measure that should do what you want:
Distinct IDs Status not 2,5,7 =
CALCULATE (
DISTINCTCOUNT ( YourTable[ID] ),
NOT YourTable[Status Number] IN { 2, 5, 7 }
)
Does that work for you?
Regards,
Owen