The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
@Anonymous , 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?
@Anonymous , 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?