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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ERing
Post Partisan
Post Partisan

Help with DAX for SUM of Distinct values

I have data like below in a table and need a measure that will show me the sum of the distinct Customer_Count values. I'll have a slicer for Brand so that when all brands are selected, the measure should return 2017 (500+675+470+372). If one of the Brands is selected, for example 'Solutions', the measure would return 675.
 
Seems like it should be easy, but I've not been able to figure out the DAX for it.
 
Customer_IDBrandCustomer_Count
1Premier500
2Solutions675
3Central470
4Mighty372
5Premier500
6Solutions675
7Central470
8Mighty372
9Premier500
10Solutions675
1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

2 REPLIES 2
Ahmedx
Super User
Super User

pls try this

 

@Ahmedx Worked perfectly. Thanks!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors