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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Michael_Gold
Frequent Visitor

Dynamic Format does not change in graph

Hello,

 

I created a measure with dynamic data type. When my parameter is set to "%" the value appear as a percentage in the table, and while it's set to "ILS" it appears as a number. The problem is that the graph won't show any data when it's set to "%", everything disappears:

 

Michael_Gold_0-1662912662122.png

 

Any way to handle this? I want my to have one graph and my users to be able to choose between % to number.

I can split it into 2 measures and use bookmarks but I want a 'clean' dashboard

2 REPLIES 2
DataInsights
Super User
Super User

@Michael_Gold,

 

I believe the issue is due to the FORMAT function converting the data type to text. You could try two approaches:

 

1. Fields parameter (requires two measures; you can format each measure without FORMAT)

2. Calculation group (the "format string expression" applies the specified format without converting the data type to text)





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi, thank you for your answer, I will try to use calculatin groups 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.