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
Syndicate_Admin
Administrator
Administrator

Dax Calendar Table in Spanish

Good afternoon

I'm creating a calendar with multiple columns, with a final start and end date and the days and months are created in English and I need them to be in Spanish. The locale is in Spanish, the PowerBi is in Spanish. In the PowerBi settings I put Spanish language...

The statement I use is this:

Dim_Calendar DAX = ADDCOLUMNS (
CALENDAR ( DATE( YEAR ( MIN ( GVA12[FECHA_EMIS])), 01, 01), DATE( YEAR( MAX( GVA12[FECHA_EMIS] ) ), 12, 31 ) ),
"FechaSK", FORMAT ( [Date], "YYYYMMDD" ),
"#Año", YEAR ( [Date] ),
"#Trimestre", QUARTER ( [Date] ),
"#Mes", MONTH ( [Date] ),
"#Día", DAY ( [Date] ),
"Trimestre", "T" & FORMAT ( [Date], "Q" ),
"Mes", FORMAT ( [Date], "MMMM" ),
"MesCorto", FORMAT ( [Date], "MMM" ),
"#DíaSemana", WEEKDAY ( [Date],2 ),
"#SemanaAño", WEEKNUM ( [Date],2 ),
"CierreSemana", ( [Date] + 7 - WEEKDAY( [Date],2 ) ),
"Día", FORMAT ( [Date], "DDDD" ),
"DíaCorto", FORMAT ( [Date], "DDD" ),
"AñoTrimestre", FORMAT ( [Date], "YYYY" ) & "/T" & FORMAT ( [Date], "Q" ),
"Año#Mes", FORMAT ( [Date], "YYYY/MM" ),
"AñoMesCorto", FORMAT ( [Date], "YYYY/mmm" ) )

I appreciate the help, thank you very much!

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @Syndicate_Admin 

 

  1. Enter the language setting of your computer
  2. Select region setting
  3. Change the region format to target region
  4. Restart the application

If there is no target region, go to language settings and add language pack

v-angzheng-msft_0-1620630244507.jpeg

Result:

v-angzheng-msft_1-1620630244509.jpeg

v-angzheng-msft_2-1620630244513.jpeg

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-angzheng-msft
Community Support
Community Support

Hi, @Syndicate_Admin 

 

  1. Enter the language setting of your computer
  2. Select region setting
  3. Change the region format to target region
  4. Restart the application

If there is no target region, go to language settings and add language pack

v-angzheng-msft_0-1620630244507.jpeg

Result:

v-angzheng-msft_1-1620630244509.jpeg

v-angzheng-msft_2-1620630244513.jpeg

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.