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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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