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

Medida para mostrar el mes y el año en la imagen de la tarjeta basada en la selección de la segmentación de datos

Hay Expertos

Necesito una medida DAX para mostrar i la tarjeta el nombre del mes (formato de clasificación, es decir, enero) y el año según mi selección de segmentación de datos. Entonces, si seleccioné enero del mes sclier y 2021 del año sclier, el espectáculo en la tarjeta

Enero 2021

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Route111 , Pruebe la siguiente medida
Año-Mes =
VAR __Month =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[MonthName] ) )
VAR __Year =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[Year] ) )
DEVOLUCIÓN
__Month & " " & __Year

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Route111 , Pruebe la siguiente medida
Año-Mes =
VAR __Month =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[MonthName] ) )
VAR __Year =
IF ( HASONEVALUE ( Table[MonthName] ), VALUES ( Table[Year] ) )
DEVOLUCIÓN
__Month & " " & __Year

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.