Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
hectorveram
New Contributor

Problem with visual summarizing with DISTINCTCOUNT

I am having a problem when adding a group of months in a visual.
My measure is simply DISTINCTCOUNT, but I have values ​​that are repeated, for example, in January and September, but in the visual it is not considering it for summing or it only considers it as 1 unit, not 2.
The strange thing is that when the data is exported to an excel the total is correct.
In this case the total should be 20,797 units, but in the visual it appears as 20,792 units because 5 are repeated.
I attach the example of data (modified due to protection) and the screen print of the visual giving the total sum.
Even stranger is that when I do the count month by month it does give the correct total of 20,797.

Captura de pantalla 2024-10-29 141510.pngCaptura de pantalla 2024-10-29 141820.pngCaptura de pantalla 2024-10-29 141900.png

Perhaps it could be some configuration in the report visual?

 

Thank you for the help.

1 REPLY 1
lbendlin
Esteemed Contributor III

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Top Kudoed Authors
Users online (5,586)