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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sixtoquiles
Helper II
Helper II

Total from distinct values

HI, I need help with my distinct sum.

 

I have many DistricDesc with the same target, but i just want one with the his target. I did, and I want a total of all target in the table, (show below) but the total is incorrect, is supose to give me 49. Any can help me. if need more info, let me know.

 

sumtargets = SUMX(DISTINCT(vw_pwrbi_altas[DistrictDesc]),[targetaltas])

 

Capture.JPG 

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

Adding the numbers in your visual totals 48. There must be some other reason you are not getting 49



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

2 REPLIES 2
MattAllington
Community Champion
Community Champion

Adding the numbers in your visual totals 48. There must be some other reason you are not getting 49



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

my mistake, am using a excel table for refencen and in my excel table give 49, decimal number give me worng result.

 

Thanks @MattAllington

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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