This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I am trying to show values as a percentage using dynamic formating but the values are not showing correctly. They are 100 times larger in some cases.
I have a column "kpi_value_mean".
Measure = SUM(cfd_kpi_gold_trends[kpi_value_mean])
Dynamic Format =
Some of the values are not showing correctly. Why are they not showing as the value as a percent? How can I get them to show correctly? The underlying data seems correct as on a line chart the values are correct but the tooltip shows the wrong value.
The measure is created in the model. It is a direct lake on OneLake model.
Solved! Go to Solution.
Hi @Zoe_Guest,
Issue is with FORMAT(kpi_result, "Percent") line, as it's converting KPI result to text and scaling it by 100.
Use below measure instead
VAR kpi_type = MAX(cfd_kpi_gold_trends[kpi_type])
RETURN
SWITCH(
kpi_type,
"1", "0.00%",
"2", "#,##0",
"General"
)
🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!
Thank you that has worked! 😄
Hi @Zoe_Guest,
Issue is with FORMAT(kpi_result, "Percent") line, as it's converting KPI result to text and scaling it by 100.
Use below measure instead
VAR kpi_type = MAX(cfd_kpi_gold_trends[kpi_type])
RETURN
SWITCH(
kpi_type,
"1", "0.00%",
"2", "#,##0",
"General"
)
🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 22 | |
| 22 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 24 | |
| 22 | |
| 22 |