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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Thomasnplus
Frequent Visitor

Date translations using calendar auto

Hi guys,

 

New to DAX and POWER BI, so forgive me if this is a stupid question

I'm creating my date table using the following DAX statement:

 

Dates =
VAR basecalendar =
CALENDARAUTO(12)
RETURN
GENERATE(basecalendar;
VAR BaseDate = [Date]
VAR YearDate = YEAR (basedate)
VAR MonthNumber = MONTH (BaseDate)

RETURN ROW(
"Day"; BaseDate;
"Year"; YearDate;
"Month Number"; MonthNumber;
"Month"; FORMAT(BaseDate; "MMMM");
"Year Month"; FORMAT(BaseDate; "MMM YY")

)
)

 

However, all my month names are in english and i need them to be danish. Is there any solution to this?

 

Thanks,

 

//Thomas

2 REPLIES 2
solvisig
Advocate III
Advocate III

It depends on the language you have selected in the options:
aasdf.PNG

and then when you publish to the service it depends on the language you have selected in the browser and in the powerbi settings:

asdf.PNG

alexei7
Continued Contributor
Continued Contributor

Hi Thomas,

 

Maybe the following is useful depending on what you're trying to do:

 

https://docs.microsoft.com/en-us/power-bi/supported-languages-countries-regions

 

Hope that helps,

Alex

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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