Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.