Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
BIUser1998
Helper I
Helper I

Dynamically format billion from bn to B

Hello all,

 

I have created a measure in PowerBI which is displayed on a KPI Card. I have kept the data type as Currency as its financial data and have kept the units option on Auto on the card. When the value is in millions, the card displays the value as $1.23M but when the value reaches billions, it shows it as $1.23bn instead of $1.23B. Is there any way to show the value with the capital B dynamically without converting the value to text?

Any help would be really appreciated. Thank you

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

You can use dynamic format strings: 

https://www.sqlbi.com/articles/introducing-dynamic-format-strings-for-dax-measures/

You can almost copy the section in the Format String Expression for Sales Amount measure in Sales table section, but just add another row with the condition for B.

 

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

You can use dynamic format strings: 

https://www.sqlbi.com/articles/introducing-dynamic-format-strings-for-dax-measures/

You can almost copy the section in the Format String Expression for Sales Amount measure in Sales table section, but just add another row with the condition for B.

 

Thank you!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.