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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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 Solution Authors
Users online (74)