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.
Hello PBI Community,
Im a bit stuck on configuring percentages. 🤔 and have spent hours trying to figure it out. 😑
I have a simple matrix and when I click on a row, I would like to show the percentage of the ROW.
By defaut, PBI gives a percentage of the whole group as shown below
Here in the first image the counts are correct (simple count measure) but the percentages are of the whole dataset
I would expect here
34/160 = 21%
126/160 = 79%
So I created a divide measure...and now the percentages are correct but how do I get the correct counts to show?
Many Thanks in advance! I hope this helps others also.
Solved! Go to Solution.
Hey @RHamilton,
If I have understood you right, you just need to edit the interactions to achieve your desired result.
Here's the Screenshot
Here's my File
Hello @JosefPrakljacic
Thanks for your reply. See the image. Hopefully you'll get the idea?
There is a row per department.
Hi @RHamilton ,
Can you please share the sample data table not the matrix? And Please share the formulas that you tried. Then we will understand clearly.
Here is my sample. Maybe you could reference it to have a try firstly.
%Government =
var Government = CALCULATE(SUM('Table'[Sales]),FILTER('Table','Table'[Segment] = "Government"))
var Total = CALCULATE(SUM('Table'[Sales]),ALLSELECTED('Table'))
return
DIVIDE(Government,Total)
Hi @v-xuding-msft ,
Many thanks for your reply.
Sorry, I do not see a way to upload/attached a file other than an image.
Based on your response, I think maybe the only way to accomplish what I need to create a summary table of my larger table and then take the same approach as you did below. Unless there is a better way using the dataset as I have provided without any intermediary summary steps?
Here is what my data looks like, again sorry but I do not see a way to upload the actual Excel file.
Hey @RHamilton,
If I have understood you right, you just need to edit the interactions to achieve your desired result.
Here's the Screenshot
Here's my File
@JosefPrakljacic , Thank you! 👍 Wow....something so simple and small - so hidden away on the top of the chart. It just says 'filter'. Oh well, not even sure what it means in the context of the interaction but it worked. I'll look it up later.
You've really made my day!
Best Wishes, 😁
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 |
---|---|
144 | |
87 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |