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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Maz_0102
Helper I
Helper I

breakdown doesn't match the distinct count

Hi 

when i click on whiteley B 99 on 28/02 as an example, i have an another table which shows the list of data for that specific count summary but it shows more rows than 99

 

can anyone advise please?

 

Maz_0102_0-1647275845536.png

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

If you want the total row to add up to the breakdown by site you can use a meaure like this.

Distinct Count Good Total = 
SUMX ( VALUES ( 'Your Table'[Site] ), DISTINCTCOUNT ( 'Your Table'[User Name] ) )

You will have to change the table and field names to match youor model.

View solution in original post

3 REPLIES 3
jdbuchanan71
Super User
Super User

If you want the total row to add up to the breakdown by site you can use a meaure like this.

Distinct Count Good Total = 
SUMX ( VALUES ( 'Your Table'[Site] ), DISTINCTCOUNT ( 'Your Table'[User Name] ) )

You will have to change the table and field names to match youor model.

jdbuchanan71
Super User
Super User

When doing a distinct count, if you have any items that can appear in more than one category (site) they will only get counted once in the total so the total will be lower than the sum of the breakdown.

thank for your response 

the issue im having is i have data which has a lot of duplictates eg uesrs against dates

im trying to remove these duplicates but i cant get the accurate count

whats the best way if you can advise?

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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