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.
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.
@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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |