Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Everyone, I am trying to create a Matrix where i need to Display number like value (%). Could you please advise what is the best way to derive that. Really appreciate your help.
Here is my Model Matrix and desired Matrix.
Model Matrix.
Category SubCategory 1SubCategory 2SubCategory 3SubCategory 4SubCategory 5Total
cat A | 12 | 6 | 5 | 23 | ||
Cat B | 16 | 17 | 33 | |||
Cat C | 15 | 1 | 16 |
Desired Matrix.
Category SubCategory 1SubCategory 2SubCategory 3SubCategory 4SubCategory 5Total
cat A | 12 (52%) | 0 (0%) | 6(26%) | 0 (0%) | 5 (21%) | 23 |
Cat B | 0 (0%) | 0 (0%) | 16 (48%) | 0 (0%) | 17 (6%) | 33 |
Cat C | 0 (0%) | 15(94%) | 0 (0%) | 1 (6%) | 0 (0%) | 16 |
Thank you so much in advance.
Hi @F3VBR3F ,
Maybe you can try the measure.
Measure = SUM('Table'[Value]) / CALCULATE(SUM('Table'[Value]), ALLSELECTED('Table'[SubCategory]))
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @F3VBR3F ,
I'd suggest to write some DAX. The FORMAT function should do the trick, although bear in mind that PBI converts your number to string which in your case should be the right format anyway ( the value "12 (52%)" is a string after all).
Let me know if this helps!
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
14 | |
13 | |
12 | |
11 |