Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I'm trying to calculate the percentage value of one column compared to another one.
Here is a table that will illustrate my challenge.
When II try to achieve this in Power BI I obtain the following:
I've tried to understand if any filters could be affecting the result but I just cannot get my head around this.
All measures come from the same table.
Solved! Go to Solution.
@PowerBIUserUKB , Prefer using divide
like
Percent_SLA = divide([onlyMet] ,[onlyTotal])
Make it decimal with 2 decimal place and Mark as % column (in measure tool)
Thank you very much for the prompt reply; it solved my problem!
So the lack of decimal places rounded up all results to 1?
Is that all that I was missing?
@PowerBIUserUKB , Prefer using divide
like
Percent_SLA = divide([onlyMet] ,[onlyTotal])
Make it decimal with 2 decimal place and Mark as % column (in measure tool)
Thank you very much for the prompt reply; it solved my problem!
So the lack of decimal places rounded up all results to 1?
Is that all that I was missing?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
126 | |
78 | |
78 | |
59 | |
51 |
User | Count |
---|---|
165 | |
83 | |
68 | |
68 | |
59 |