Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello eveyone,
I need your help.
I have a matrix smth like below:
But I want it to have as below:
A and B are different departments and I want to include "Total" in the same matrix or table. Is it possible?
Solved! Go to Solution.
HI @Anonymous,
AFAIK, the default matrix features did not support these. (these values will aggregate on grand total level instead of split into different groups based on their categories)
I'd like to suggest you create an unconnected table with all categories you wanted. Then you can use this as the 'row' of the matrix and write the measure formula as the 'value' of matrix to lookup values from the raw table based on the current category.
SELECTEDVALUE function - DAX | Microsoft Docs
Regards,
Xiaoxin Sheng
HI @Anonymous,
AFAIK, the default matrix features did not support these. (these values will aggregate on grand total level instead of split into different groups based on their categories)
I'd like to suggest you create an unconnected table with all categories you wanted. Then you can use this as the 'row' of the matrix and write the measure formula as the 'value' of matrix to lookup values from the raw table based on the current category.
SELECTEDVALUE function - DAX | Microsoft Docs
Regards,
Xiaoxin Sheng
Hi:
Normally the data should go in:
Dept No.
A 2
A 4
B 5
B 1
You could duplicate this table in Power Query and change the Department name to "Total" and then append it to the first table and then you can obtain this result.
Hi:
I didn't see the first reply and just want to mention when you are in Power Query with this original table there is a Fill feature where you can fill down your missing Department name on those two data points. Then proceed with the suggestion
@Anonymous
It sounds crazy, but you can union/append the original table with a copy that has the value "total" instead of the project names then use the new table in your visual. You can do it in either power query or using dax
Hi @tamerj1 , I have it already using union all in SQL view (dataset) and it has many disadvantages in terms of user experience, but thanks.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
4 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |