This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
hi
i am looking for display data in 100% stacked bar, want to show the number (in detail part) but in millions format
but also show the % repartition. I didnt manage to remove the millions format on the %.
There is no display unit on this chart.
thank you for helping
Solved! Go to Solution.
Hii @menphis21
Power BI applies a single formatting rule to data labels in 100% stacked charts, so you cannot show values in millions (M) and percentages (%) with different formats in the same label. The correct approach is to create a custom text measure (e.g., FORMAT(Value/1000000,"0.0") & "M (" & FORMAT(DIVIDE(Value, Total),"0%") & ")") and use it as a label via tooltip, combo visual workaround, or custom visual, because native data labels don’t support mixed formatting.
Hii @menphis21
Power BI applies a single formatting rule to data labels in 100% stacked charts, so you cannot show values in millions (M) and percentages (%) with different formats in the same label. The correct approach is to create a custom text measure (e.g., FORMAT(Value/1000000,"0.0") & "M (" & FORMAT(DIVIDE(Value, Total),"0%") & ")") and use it as a label via tooltip, combo visual workaround, or custom visual, because native data labels don’t support mixed formatting.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |