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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
hectorveram
Frequent Visitor

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
Super User
Super User

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors