Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Y'all,
I want to display the bn as B for all the charts and visualisation, aswell as want to have the auto display feature where if the data is filtered, it automatically changes to M,K or B depending on the filter.
Solved! Go to Solution.
Hi @RajaSadagopan ,
I create a table as you mentioned.
The only displays of numbers in the Donut chart are the following.
Since Measure for Donut chart in PowerBI can only be placed in tooltips, you can create a Measure.
FormattedAmount =
VAR AmountInBillion =
MAX ( 'Table'[Amount] ) / 1000000000
RETURN
FORMAT ( AmountInBillion, "0.0" ) & "B"
If you want to use Dynamic Format Strings for Measures, you can check this official documentation below: Deep dive into the new Dynamic Format Strings for Measures! | Microsoft Power BI Blog | Microsoft Po...
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RajaSadagopan ,
I create a table as you mentioned.
The only displays of numbers in the Donut chart are the following.
Since Measure for Donut chart in PowerBI can only be placed in tooltips, you can create a Measure.
FormattedAmount =
VAR AmountInBillion =
MAX ( 'Table'[Amount] ) / 1000000000
RETURN
FORMAT ( AmountInBillion, "0.0" ) & "B"
If you want to use Dynamic Format Strings for Measures, you can check this official documentation below: Deep dive into the new Dynamic Format Strings for Measures! | Microsoft Power BI Blog | Microsoft Po...
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RajaSadagopan You can acheive this by using a custom label measure. For my case, I want to change dynamic label for measure Revenue. Try below code:
DynamicLabel =
SWITCH(
TRUE(),
[Revenue] >= 1000000000, FORMAT([Revenue]/1000000000, "0.0") & "B",
[Revenue] >= 1000000, FORMAT([Revenue]/1000000, "0.0") & "M",
[Revenue] >= 1000, FORMAT([Revenue]/1000, "0.0") & "K",
FORMAT([Revenue], "0")
)
Select the visual, turn on Data Label, go to value and replace default measure with the newly create custom dynamic label measure. See image below:
Hope this helps!!
If this solved your problem, please accept it as a solution!!
Best Regards,
Shahariar Hafiz
Hi Thank you!! But the above solution is working only for Bar and column chart. What about Pie and donut??
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |