Forum Discussion
Count Distinct with Data Filtering
- 7 years ago
Hi AZL ,
Please download it from the attachment.
In [statusNum]>=2, "=2" means there are "Completed" and "Pending" at the same time. ">2" means there could be a third status just in case.
Best Regards,
Greetings,
I tried it and i'm getting the following error:
"A single value for column 'Status' in table 'table1' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
I'm trying to understand the script but I couldn't understand why did you use ( [statusNum]>=2),"data" )
I will appreciate it if you can attach a power bi file with the script for more explanation.
Thank you
- AZL7 years agoFrequent Visitor
Sorry....I forgot to update it last time I logged in.
Thank you so much for the solution.