This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
It would seem a simple question, but I can’t solve it in Power BI...
You can get pbix exampe via this link (unfortunately direct loading is not available for me in this forum):
https://www.dropbox.com/s/vmt0z7n8ai3phgq/DAX%20Issue%20Example%202.pbix?dl=0
In this example I'm getting zero values for the totals of columns Effect and MixEffect:
But I need get 130 (35 + 50 + 45) and 830 (140 + 150 + 540).
This example is based on the following simple data:
Solved! Go to Solution.
@ikibirev you can write these two measures
_effect = SUMX(VALUES(TestTable[Category]),[Effect])
_effect = SUMX(VALUES(TestTable[Category]),[Effect])
@ikibirev you can write these two measures
_effect = SUMX(VALUES(TestTable[Category]),[Effect])
_effect = SUMX(VALUES(TestTable[Category]),[Effect])
Greate! You are Superb!
The formula in your answer was slightly not exactly copy-pated, but I got the idea. Merged this answer with ValtteriN answer.
So the result formulas are:
Thank you very much!
Hi,
The total of a matrix uses the same logic as with the measure in the column. To create a custom total which calculates all of the values you can use SUMX and IF.
Here is a very similar solution to your case:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Total-wrong/m-p/2268244#M55107
The basic dax is as follows:
Proud to be a Super User!
A very interesting idea! But unfortunately the result is different from zero, but has the wrong value (1450 instead 830):
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 6 | |
| 6 |