Forum Discussion
Count unique values
- 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
Hi,
I have a table with several rows (1 per client). I need to evaluate a column for PastDue Answers. That is, I need to know, of all the clients, how many have PastDue within the given column. I hope to use a visualization Card to display the result (total of answers with the word "PastDue").
- JoseAriel8 years agoFrequent Visitor
The result worked, however, it leads to another question.
When filtering by worker, some are all up-to-date therfore no "PastDue"s within the column. When that happens, PBI displays (Blank) on the visualizations Card. Any way to have it display 0 instead? Or even "All up to date"?