Forum Discussion
Anonymous
5 years agoNot applicable
DISTINCTCOUNT
This Data is about the Monthly Serviced units. One unit can get serviced multiple times in a month or year. However, when I count the total unit serviced I do not want the same unit being accounte...
- 5 years ago
Anonymous
5 years agoNot applicable
Here is the table and Desired Result for DISTINCT Count.
Ashish_Mathur
5 years agoSuper User
Hi,
Based on that data that you have shared, =distinctcount(data[serial number]) should return the correct result for every month. If not, then share the link from where i can download your PBI file.
- Anonymous5 years agoNot applicable
Thank you Ashish for taking a look. Here is the File Link.
- Ashish_Mathur5 years agoSuper User
Hi,
Try this measure
=
Count = if(HASONEVALUE(Data[Month]),DISTINCTCOUNT(Data[Model]),DISTINCTCOUNT(Data[SerialNumber]))Hope this helps.- Anonymous5 years agoNot applicable
If you look at the monthly breakdown for 'Product A' it doesnt add up, even though the Total '7' is correct.