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

The Fabric Community site will be in read-only mode on Monday, Feb 24 from 12:01 AM to 8 AM PST for scheduled upgrades.

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
Super User
Super User

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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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