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
Estoy atascado para obtener el último valor de cada mes.
¿Alguien puede ayudarme, por favor? Soy un mendigo en Power Bi.
Mi medida fue:
último valor: CALCULATE(MAX('Histogram-EQUIP-MBR'[Pronóstico mensual]); LASTDATE('Histograma-EQUIP-MBR'[Fecha]))
Puede usar
El último valor es CALCULATE(MAX('Histogram-EQUIP-MBR'[Pronóstico mensual]);
filter(all('Histogram-EQUIP-MBR'),'Histogram-EQUIP-MBR'[Data]' LASTDATE('Histogram-EQUIP-MBR'[Data])))
Mejor crear una tabla de fechas
El último valor es CALCULATE(MAX('Histogram-EQUIP-MBR'[Pronóstico mensual]);
filter(all('Date'),'Date'[Date]' LASTDATE('Histogram-EQUIP-MBR'[Date])))
De hecho, el uso de esto también podría ser muy útil
https://docs.microsoft.com/en-us/dax/lastnonblankvalue-function-dax,
Pero usted necesita asegurarse de que hay mes en contexto
Hola
Refiera a este link - https://exceleratorbi.com.au/lastnonblank-explained/.
Espero que esto ayude.
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 | |
2 | |
2 | |
2 | |
1 |