Forum Discussion
Gonast
1 year agoNew Member
need help with DAX calculation
Hi everyone, need help here! I have a trip record table, where it shows DATE, PLATE, TRIP_CODE and I want that when selecting a date (in a filter visual) it results in the list of vehicles that t...
- Anonymous1 year ago
Hi Gonast
If you want a measure, check this:
ULTIMA FECHA = VAR vDate = SELECTEDVALUE(SalidasLima[FECHA]) RETURN CALCULATE(MAX(SalidasLima[FECHA]), ALLEXCEPT(SalidasLima,SalidasLima[PLACA1]),SalidasLima[FECHA]<vDate)Model:
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Anonymous
1 year agoNot applicable
Hi Gonast
If you want a measure, check this:
ULTIMA FECHA =
VAR vDate = SELECTEDVALUE(SalidasLima[FECHA])
RETURN
CALCULATE(MAX(SalidasLima[FECHA]), ALLEXCEPT(SalidasLima,SalidasLima[PLACA1]),SalidasLima[FECHA]<vDate)
Model:
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Gonast
1 year agoNew Member
Thanks you very much!