Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet 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
This ist what I did:
1) I've got an english installation (05-2017), but the locale settings are set to German.
2) In an empty PBIX I added a new date table using DAX:
Date = CALENDAR(DATE(2016;1;1); DATE(2016; 12; 31))
3) I added another column to get the month name:
Monthname = FORMAT('Date'[Date]; "MMMM")
4) The result are english month names instead of german month names:
I tried refreshing data without success. I tried also re-opening the file in a german installation and refresh the data - still english month names. If i start over an do steps 2 and 3 within a german installation, i get german month names. Uploading the file to PowerBI.com and changing the service's Locale setting doesn't seem to have an effect neither.
I seems that the installation that first creates a PBIX seems to set the Locale setting for DAX and that setting can't be changed afterwards. Can anyone confirm that? Any help is appreciated!
Solved! Go to Solution.
Hi,
I'd say on power bi online, it checks the user's locale settings, in my case, i publish with spanish locale settings, and users from portugal and uk get the month names in their regional languages.
Thanks for your reply. Sadly, in my case, this does not work. As you can see in the screenshot below the menu has german captions whereas in the table visual the month name is still english:
I suspect this is a DAX related issue, using M seems to work correctly. Did you create the date table with a DAX table expression like I did?
Locale setting will only impact date, number format, it can't change the languages.
For Power Query, this setting will be taken: Internationalization (Power Query)
Regards,
@v-sihou-msftThanks for your confirmation!
OK, now we know that you can't change the language of a DAX output by changing the "Locale"-setting.
Is there another way to do just that?
If there was none, then I couldn't use a DAX-created date table in a scenario where I need to translate month names to another language depending on the users Location/culture´.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
86 | |
82 | |
64 | |
49 |
User | Count |
---|---|
124 | |
110 | |
88 | |
68 | |
66 |