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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors