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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
UntamanEi
Frequent Visitor

Total sum for Customer is not equal Distinctcount

Hi, 

I would like to calculate the summation of the Distinctcount Customer that shows a unique customer but I would like summation value.

not equal.png

This is my DAX.

 

_Count Customer = SUMX(ALLSELECTED(Sheet1[Customer]), CALCULATE(DISTINCTCOUNT(Sheet1[Customer])))

 

This is the Data Table.

DateTransactionCustomer
9/2/2020MM01A
9/2/2020MM02C
9/20/2020MM03B
9/22/2020MM04A
10/1/2020MM05B
10/3/2020MM06A
10/5/2020MM07B

 

Best Regards,

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @UntamanEi 

Using your current measure, and if you are going to use it with months (DateT[Month]) on the row of the visual as shown:

 

_Count Customer_TOT =
SUMX( DISTINCT(DateT[Month]), [_Count Customer])

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

View solution in original post

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @UntamanEi 

Using your current measure, and if you are going to use it with months (DateT[Month]) on the row of the visual as shown:

 

_Count Customer_TOT =
SUMX( DISTINCT(DateT[Month]), [_Count Customer])

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.