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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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