Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
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.
Solved! Go to Solution.
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
Proud to be a Super User!
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
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>].
add more information
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
75 | |
70 | |
47 | |
41 |
User | Count |
---|---|
64 | |
41 | |
31 | |
30 | |
28 |