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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Trouble with Format function when concatenating a string, locale is not respected

Hi,

Im trying to create a text string that concatenates both a numeric value and a decimal value.

 

Format issue.PNG

 

I'm using Text measure = FORMAT([Numeric value];"#,0") &" ( "&FORMAT([Decimal value];"0%")&" )"

 

The problem is that for the numeric value my setting for locale (Swedish) is not respected and the thousand separator used by the format function is "," 

According to the documenation https://msdn.microsoft.com/en-us/library/ee634206.aspx this should not be the case...

 

Is there any other way to get this working?

 

Thanks,

Magnus

4 REPLIES 4
Anonymous
Not applicable

@Anonymous,

I can reproduce your issue. I will report this issue internally and post back once I get any updates.

Regards,
Lydia

Anonymous
Not applicable

Okay I have found some more info regarding this issue.

@marcorusso explains in this article ( link ) that the culture of the data model does not change after the file has been created. This apparently has the consequence that functions such as FORMAT only respects the culture that is set for the data model and not what is set in the GUI.

 

I was able to change the culture of my model to "sv-SE" using Marcos steps in the article and it solved my current formatting issue.

 

However, regardless of my culture setting in my OS all new PBI-files that I create seems to get the culture "en-US" so there must be something that is not working as it should!

 

@Anonymous

 

I’ve got response from the Product Team.

 

The model's culture is en-US so it seems like it is created on an US English machine. DAX functions use locale derived from the culture set in the model, not on the machine which the model is used. Note that once a model is created, its culture cannot be changed.

 

Best Regards,
Herbert

Anonymous
Not applicable

@v-haibl-msftthanks for the response, I have understood that the functions use the locale from the data model. But as I stated in my last post: regardless of my OS culture (which is set to sv-SE) all my new models still get the culture en-US. I'm using the august version of PBI Desktop with english language but I guess that should not matter? 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors