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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Amounts don't match up

Hello,

I have the following table visualization structure with 3 columns and measures:

PRODUCTCOLORAMOUNTAMOUNT_ALLAMOUNT_YELLOWTOTAL_YELLOWTOTAL_BLUE
ARED537.75628.50 2466.75
ABLUE66.75564.50 2466.75
AYELLOW3261.2532327.75
  636.50    

 

All my measures are off. For example TOTAL_YELLOW should give me 32 for all!

I am pretty new to DAX so I might be missing something:

AMOUNT_YELLOW = SUMX(FILTER(REPORT, REPORT[COLOR] = "YELLOW"), REPORT[AMOUNT])


TOTAL_YELLOW = CALCULATE(REPORT[AMOUNT_YELLOW], ALL(REPORT[COLOR]))

1 ACCEPTED SOLUTION
Anonymous
Not applicable

It seems that using ALLSELECTED instead of ALL works!

😀

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Glad to hear that your issue has been resolved. Please mark your answer as a solution, it will help more people with the same problem.

 

Best Regards,

Neeko Tang

Anonymous
Not applicable

It seems that using ALLSELECTED instead of ALL works!

😀

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.