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

No se puede utilizar la agrupación

Hola, tengo una columna de fecha en varias tablas y enlaces como se muestra a continuación. Está funcionando bien.

Sin embargo, si quiero preparar un informe sobre PL_Structure columna (Informes) en cuanto al mes, a excepción del año en curso, el valor del año anterior se encuentra por debajo del mes de diciembre.

Por favor, avise.

Relationship.PNG

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Sadr_Hoda , ¿No está muy claro?

Puedes usar medidas como

MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))


ventas MTD del año pasado = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-12,MONTH)))
Ventas del mes del año anterior = CALCULATE(SUM(Sales[Sales Amount]),previousmonth(dateadd('Date'[Date],-11,MONTH)))

Este mes = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Year]=max('Date'[Year]) && Date[Month]=max(Date[Month])))
último mes solo Este año = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Year]=max('Date'[Year]) -1 && Date[Month]=max(Date[Month]) ))

Power BI: mes a mes con o sin inteligencia de tiempo
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA

La información que ha proporcionado no me está aclarando el problema. ¿Puede explicarlo con un ejemplo?

Aprecia tus felicitaciones.

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.