Forum Discussion
JoseAriel
8 years agoFrequent Visitor
Count unique values
Hello, I have a table which I hope to display along with a visualization Card indicating the total count of PastDue values in the therapy column which in this case would be 1. Any thoughts on wha...
- 8 years ago
Hey,
I'm wondering why it's 1, I would count it 2, because there are two unique id_no with the value "PastDue" ,but nevertheless.
This measure should return 1
CALCULATE( DISTINCTCOUNT('yourtable'[therapy]) ,'yourtable'[therapy] = "PastDue" )Hopefully this is what you are looking for
Regards
Tom
Ashish_Mathur
8 years agoSuper User
Hi JoseAriel,
Shouldn't the answer be 2 - there are 2 ID's with an entry of Past due? Please clarify.