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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
AgulloBernat
Regular Visitor

Changes in format string are not applied until I actually change the measure

This has been happening for a long time to me, but searching around I did not find an issue to vote, so here is it. 

Is quite simple, I have a measure and I want to change the format string (either applying a custom format string from the report view, or change the number of decimals). Well, it does not apply the changes. It does not unless I make some change to the measure, like adding a new empty line or similar. Then the changes are applied. 

 

Sometimes I do forget about that, so I fell for that while writting my latest post 

https://www.esbrina-ba.com/changing-display-units-without-a-suffix/

 

please fix it! 

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @AgulloBernat 

 

When you customize the formatting of the measure in the formatting pane at the top bar, you need to press Enter to confirm otherwise it will not take effect. You can format in the top bar or format in the model tab.

vangzhengmsft_1-1630989894287.png

 

Sample:

vangzhengmsft_0-1630989648710.png

 

Please read the following documents and post about formatting for more information.

FORMAT function

Use custom format strings in Power BI Desktop

Kton unit of measurement

 

 

Hope this helps.

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

@AgulloBernat Right, you are hitting an issue with the optimization Power BI does to make things faster. Essentially, it's caching results so that it doesn't have to recalculate a bunch of stuff it already "knows". You changing the format doesn't nudge Power BI into thinking it has to recaculate anything. One could think of it as a bug and that changing a format should force a recalculation. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.