Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
90 | |
83 | |
76 | |
64 |
User | Count |
---|---|
142 | |
112 | |
98 | |
98 | |
94 |