Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I am trying to create Level1, Level2 and Level3 matrix visual and unable to display custom calculations in Level2. below is the sample data to construct the visual.
Data:
Level1 | Level2 | Level3 | Value |
A | AA | AAA | 5 |
A | AA | AAAA | 10 |
Matrix Visual: Trying to display as mentioned below in Matrix visual but i am not able to display values in Level2
-A | |
--AA | 50 |
---AAA | 5 |
---AAAA | 10 |
How can this be handled?
Thanks & Best Regards,
AJ
Solved! Go to Solution.
If I understand you correctly and your desired result is :
You can modify it from the subtotals format with these steps:
I also updated the linked file
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @DevMaster
Hi the summarized matrix should look like this :
why on your example AA level is 50 if the total sum is 15?
thanks for your reply.
I am calculating average (5/10)*100 from backend and the data will come from SQL database. And i just want display the values only on Level2 & Level3
Hi @DevMaster again 🙂
I'm still not sure I understand.
But if you just want to show levels 2 and 3 you can achieve it with DAX
According to the hierarchy level, it shows the calculation that you "tell" him
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
i am trying to calculate the percentage and show the values in Level2. Could you please share .pbix file
Hi @DevMaster
If I understand you correctly and your desired result is something like this :
Then you can follow these steps:
1. Add a calculated column for percentage:
2. Create a measure for the matrix:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thank you for solution. Here i am facing one issue like i don't want to show Total text in the report. if i set subtotals option to off then values not showing.
Could you please suggest that how we need to get rid off row/column subtotals.
If I understand you correctly and your desired result is :
You can modify it from the subtotals format with these steps:
I also updated the linked file
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thanks a lot. it resolves all my issues.
Happy to help, please consider Accepting all answers that help with different issues of this post as the solutions to help the other members find it more quickly
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
85 | |
85 | |
67 | |
49 |
User | Count |
---|---|
132 | |
113 | |
100 | |
68 | |
67 |