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, he buscado respuestas, pero no puedo conseguir lo que quiero. Esencialmente necesito una columna que traiga el valor asociado a una fecha anterior a la fila actual. La siguiente imagen muestra el requisito. Me gustaría que la columna Probador mostrara el valor de la fecha anterior para cada persona. El DAX que tengo tiene una fecha codificada que funciona para las fechas más recientes, pero a medida que voy por la columna (obviamente) comienza a fallar. Cualquier ayuda muy apreciada.
@67nmark Vea mi artículo sobre el tiempo medio entre fallas (MTBF) que utiliza ANTES: http://community.powerbi.com/t5/Community-Blog/Mean-Time-Between-Failure-MTBF-and-Power-BI/ba-p/3395...
Prueba esto
Last Val = CALCULATE(LASTNONBLANK('Table'[Value],'Table'[Value]),FILTER(ALLEXCEPT('Table','Table'[Name]),'Table'[Date]<EARLIER('Table'[Date])))
Proud to be a Super User!
Perfecto. Muchas gracias 🙂
@67nmark , Como medida con tabla de fechas
Last Day Non Continuous ? CALCULATE(Table[Value],filter(ALLSELECTED('Date'),'Date'[Date] ?MAXX(FILTER(ALLSELECTED('Date'),'Date'[Date]<max('Date'[Date])),'Date'[Date])))
como una columna
Valor del último día ?
var _max á maxx(filter(Table, [date] < earlier([date]) && [name] á earlier([name])),[date])
devolución
maxx(filter(Table, [date] á _max && [name] á earlier([name])),[value])
lo mismo se discute en
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 |