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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
telesforo1969
Resolver I
Resolver I

change the Euro currency to Pesos from the Format "Currency" function.

I have configured the currency as Euro somewhere, I need it in Pesos, I live in Mexico; the above causes me to present the thousands separators with a period, I need them with commas and the decimals with a period. I have already checked the Windows configuration and I have it correct, I have always had it for my country Mexico and comma separators for thousands.

 

Format2.JPGFormat1.JPG

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

@telesforo1969 

 

You can use this to format the string using comma as decimal separator and period as thousands separator

 

Measure = FORMAT(SELECTEDVALUE('DataTable'[Value]), "#,0.00" ,"de-DE")

 

NOTE that I used the locale string de-DE here rather than es-MX.  When I tried es-MX it still used period as decimal separator and comma for thousands separator.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

3 REPLIES 3
PhilipTreacy
Super User
Super User

@telesforo1969 

 

You can use this to format the string using comma as decimal separator and period as thousands separator

 

Measure = FORMAT(SELECTEDVALUE('DataTable'[Value]), "#,0.00" ,"de-DE")

 

NOTE that I used the locale string de-DE here rather than es-MX.  When I tried es-MX it still used period as decimal separator and comma for thousands separator.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thank you very much for your support. I think that the word "Optional" is important to omit in the description of the Format command [<locale_name>], "it should not be as optional in the Format command documentation". The literature says that PowerBi takes the Windows configuration and it is not true as I present it in the documentation. Please omit the word Optional and emphasize the list [<locale_name>].Format8.JPGFormat6.JPG

 

 

telesforo1969
Resolver I
Resolver I

add more information Format5.JPG

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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