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
Jonete
Frequent Visitor

Mont name in spanish - Measure

Hello everybody:

 

I`m newBIe and i can´t get this issue resolved.

 

I would like to show in my report the month data belong, and I use:

 

Z_TituloMes2 = "Control Presupuestario  " & format(max(Datos[FechaConta]);"mmmm")

Where [FechaConta] is the date 

 

This works fine, but i would like the month name to be in spanish. Is it possible?

 

 

 

Thank you very much.

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Jonete,

 

In this scenario, I would suggest you to translate the month name to Spanish by adding a new custom column in Query Editor using Date.MonthName function(M) where you can specify the language for the month name in the second argument first.

 

monthName.PNG

 

Then you should be able to use the formula below to show the month name in Spanish.

Z_TituloMes2 =
VAR maxFechaConta =
    MAX ( Datos[FechaConta] )
RETURN
    "Control Presupuestario  "
        & CALCULATE (
            FIRSTNONBLANK ( Datos[SpanishMonthName]; 1 );
            Datos[FechaConta] = maxFechaConta
        )

Regards

View solution in original post

6 REPLIES 6
v-ljerr-msft
Employee
Employee

Hi @Jonete,

 

In this scenario, I would suggest you to translate the month name to Spanish by adding a new custom column in Query Editor using Date.MonthName function(M) where you can specify the language for the month name in the second argument first.

 

monthName.PNG

 

Then you should be able to use the formula below to show the month name in Spanish.

Z_TituloMes2 =
VAR maxFechaConta =
    MAX ( Datos[FechaConta] )
RETURN
    "Control Presupuestario  "
        & CALCULATE (
            FIRSTNONBLANK ( Datos[SpanishMonthName]; 1 );
            Datos[FechaConta] = maxFechaConta
        )

Regards

Thank you very much. It Works fine.
Jonete
Frequent Visitor

Hello everybody:

 

I`m newBIe and i can´t get this issue resolved.

 

I would like to show in my report the month data belong, and I use:

 

Z_TituloMes2 = "Control Presupuestario  " & format(max(Datos[FechaConta]);"mmmm")

Where [FechaConta] is the date 

 

This works fine, but i would like the month name to be in spanish. Is it possible?

 

 

 

Thank you very much.

tjd
Impactful Individual
Impactful Individual

Have you tried changing your regional options (File|Options and settings|Options|Current File|Regional Settings) to Spanish (xxx)?

Jonete
Frequent Visitor

Thank you.

 

I tried your solution, but the month is still in english.

 

I'll keep trying.

tjd
Impactful Individual
Impactful Individual

OK, then what you should do is to create your own date table as described here.  Not at the top of the example that you have the ability to set the table's "Culture".  You just need to search for the proper spanish culture code.  For example, US English would be en-us.  You can find the culture code's here.

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.