The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Using the new KPI visual that was added to Power BI online recently, I am unable to make it display percentage-based KPIs made in SSAS tabular as percentages. The KPIs and corresponding measures are formatted as percentages in the SSAS model, but the KPI visual in Power BI displays the values as decimal numbers. Any idea how to force it to display these values as percentages?
Hi There,
I have good news I was able to do it!
First right click on your model and click view code. Then click ctrl + F and look for your measure name space goal for example for me it was [_Schedule Load Goal].
Once you reach the <calculationReference> XML tage add this line:
<FormatString>'0.00 %;-0.00 %;0.00 %'</FormatString>
Like here:
<CalculationReference>[_Schedule Load Goal]</CalculationReference>
<CalculationType>Member</CalculationType>
<Visible>false</Visible>
<FormatString>'0.00 %;-0.00 %;0.00 %'</FormatString>
Please note that both the measure value and gola should have the exact same format for ppowerview to show them as percent. The format string above is for a percentage with 2 decimal points.
Thanks.
This explanation saved our day.
1Year later and still the same issue in the VS Tabular Model Editor.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
53 | |
21 | |
12 | |
11 | |
11 |
User | Count |
---|---|
118 | |
30 | |
28 | |
21 | |
20 |