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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.