Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have the following table visualization structure with 3 columns and measures:
| PRODUCT | COLOR | AMOUNT | AMOUNT_ALL | AMOUNT_YELLOW | TOTAL_YELLOW | TOTAL_BLUE |
| A | RED | 537.75 | 628.50 | 24 | 66.75 | |
| A | BLUE | 66.75 | 564.50 | 24 | 66.75 | |
| A | YELLOW | 32 | 61.25 | 32 | 32 | 7.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]))
Solved! Go to Solution.
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
It seems that using ALLSELECTED instead of ALL works!
😀
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 19 | |
| 19 | |
| 15 | |
| 9 |