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 dos tablas que provienen de diferentes fuentes, pero con nombres de columna e información similares a los siguientes
Tabla ABC
Cuadro EFG
He creado una tabla calendario y he creado columnas para dividir datos según rangos de datos personalizados:
Muestra:
@deedeedudu , Mi sugerencia sería el parámetro de campo con medida usando la tabla de fechas y la inteligencia de tiempo
Medidas
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
último mes Ventas = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))
nueva columna
Month Rank = RANKX(all('Date'),'Date'[Month Start date],,ASC,Dense)
Medir
Este mes = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Month Rank]=max('Date'[Month Rank])))
Último mes = CALCULATE(sum('Table'[Qty]), FILTER(ALL('Date'),'Date'[Month Rank]=max('Date'[Month Rank])-1))
Con una tabla de fechas separada, debería funcionar para el cliente
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
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |