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
My current matrix table in the PowerBI showing like table A: Dont want to change M query ,table relationships etc. I just need simple DAX which converts the Region values to Negative , and sum should (Region1+Region2+region3)- Region as shown in table B.
this is just sample data , we have number of regions in the data
Table A:
to table B
Solved! Go to Solution.
Hi @Naveen29 ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create two measures.
Measure = IF(MAX('Table'[Region])="Region",-SUM('Table'[Value]),SUM('Table'[Value]))Measure 2 = SUMX(VALUES('Table'[Region]),[Measure])
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can create Calculated column for that
You can create Calculated column for that
Hi @Naveen29 ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create two measures.
Measure = IF(MAX('Table'[Region])="Region",-SUM('Table'[Value]),SUM('Table'[Value]))Measure 2 = SUMX(VALUES('Table'[Region]),[Measure])
(3) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @Naveen29 ,
can you provide how is the data in the data view or attach your pbix file.
Proud to be a Super User! | |
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 |
|---|---|
| 39 | |
| 28 | |
| 27 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 26 | |
| 25 |