Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
my DAX query is producing the correct values by line but the incorrect value for the total.
I thought I could fix the total problem with sumx. But obviously I'm doing something wrong here.
The DAX query:
Please give me some support. Thanks a lot.
Solved! Go to Solution.
There is a general method to solve the problem that the total does not equal the breakdown, you can refer to it.
Create New Measure =
SUMX(
CROSSJOIN(
VALUES('Table'[Row Field1]),
VALUES('Table'[Row Field2]),
VALUES('Table'[Row Field3]),
...
),
[Old Measure]
)
According to your screenshot, you should fill the first 6 columns into VALUES in order.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
There is a general method to solve the problem that the total does not equal the breakdown, you can refer to it.
Create New Measure =
SUMX(
CROSSJOIN(
VALUES('Table'[Row Field1]),
VALUES('Table'[Row Field2]),
VALUES('Table'[Row Field3]),
...
),
[Old Measure]
)
According to your screenshot, you should fill the first 6 columns into VALUES in order.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
11 | |
11 | |
8 | |
8 | |
8 |