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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
KeithNeedsHelp
Frequent Visitor

Chart Display Units

Hi, I have data ranging from a few hundred thousand to a few million.  In one chart I would like my display units to show for example 200K, 400K, 600K, 800K, then switch to 1M, 1.2M, 1.4M, etc.  Possible?

 

thanks,

 

Keith

2 ACCEPTED SOLUTIONS
TotunG
Resolver I
Resolver I

Not sure on your exact data layout but could potentially look into dynamic string formats? 

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-dynamic-format-strings

View solution in original post

Dhairya
Solution Supplier
Solution Supplier

Hey @KeithNeedsHelp 
Yes it is possible with the new Dynamic string format
I recreated your scenario please follow below step to achieve your requiremnet

Input Data

Dhairya_0-1694692479734.png

 


Step 1: Create a simple measure 

Dhairya_1-1694692512044.png


Step 2: Go to Dynamic format

Dhairya_2-1694692543713.png


Step 3: Now type the condition in the format you want the end output

Dhairya_3-1694692610531.png


Now you will get your expected output as below

Dhairya_4-1694692646256.png

If this helps ypu then please kudo this post and mark it as a solution so that others can find it quickly while facing the similar issue. Thank You!

View solution in original post

4 REPLIES 4
Dhairya
Solution Supplier
Solution Supplier

Hey @KeithNeedsHelp 
Yes it is possible with the new Dynamic string format
I recreated your scenario please follow below step to achieve your requiremnet

Input Data

Dhairya_0-1694692479734.png

 


Step 1: Create a simple measure 

Dhairya_1-1694692512044.png


Step 2: Go to Dynamic format

Dhairya_2-1694692543713.png


Step 3: Now type the condition in the format you want the end output

Dhairya_3-1694692610531.png


Now you will get your expected output as below

Dhairya_4-1694692646256.png

If this helps ypu then please kudo this post and mark it as a solution so that others can find it quickly while facing the similar issue. Thank You!

Could I re-visit this issue briefly?  I have dynamic formatting working fine in a line chart, but want it to work on the y axis only and not on data labels.  It does not change to millions on the axis.  Here's the formula:  

IF([MSPriceMax] < 1000000, "$#,.K", "$#,,.00M").  Here's how it looks:
KeithNeedsHelp_0-1697572429272.png

 

KeithNeedsHelp
Frequent Visitor

Yes this is the right direction for me thanks!

TotunG
Resolver I
Resolver I

Not sure on your exact data layout but could potentially look into dynamic string formats? 

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-dynamic-format-strings

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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