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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.