Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Problema:
DAX debe comprobar hasta que el valor anterior sea 0 (En valor), una vez que su valor no es 0, me da la fecha (Resultado necesario) como se indica a continuación.
Solved! Go to Solution.
Hola @pras_hant10
tratar de una medida
Result =
var _curDate = MAX(Table[Date])
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
No @pras_hant10
probar una medida
Result =
var _curDate = MAX(Table[Date])
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
casi lo mismo
Result =
var _curDate = Table[Date]
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
No @pras_hant10
probar una medida
Result =
var _curDate = MAX(Table[Date])
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
Gracias por su ayuda, por mis disculpas, estoy buscando la lógica para el campo columna.
casi lo mismo
Result =
var _curDate = Table[Date]
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
Gracias. funciona
Hola @pras_hant10
tratar de una medida
Result =
var _curDate = MAX(Table[Date])
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
@pras_hant10 , Tratar como
if(Table[Invalue]-0,maxx(filter(Table, table[Date]<earlier(Table[Date])),Table[Date]),Table[Date])
Intenté lo mismo, pero el resultado de abajo que estoy recibiendo.
El resultado debe ser 01/02/2020 desde la fila 2a hasta la última, ya que hay 0 in valor.
Tratar
if(Table[Invalue]-0,maxx(filter(Table, table[Date]<earlier(Table[Date]) && Table[Invalue]-0),Table[Date]),Table[Date])
Hola @pras_hant10
tratar de una medida
Result =
var _curDate = MAX(Table[Date])
RETURN
CALCULATE(MAX(Table[Date]); FILTER(ALL(Table); Table[Date] <= _curDate && Table[InValue] <> 0))
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |