Forum Discussion

FZOU's avatar
FZOU
Helper IV
5 years ago
Solved

Display by max date

Hello,

 

i want to display the comment based on slicer by category and max date, max time, below an example :

 

For Exp if i choose "Bike" on slicer it should display "OK 2"  because he have max date and maxe time.
Any one can help with this dax formula please ? thank you every one 🙂

  • FZOU , Try a measure like

     

    measure =
    var _max = maxx(allselected(Table), Table[salesdate])
    return
    calculate(max(Table[comment]) , filter( Table, Table[salesdate] = _max))

1 Reply

  • FZOU , Try a measure like

     

    measure =
    var _max = maxx(allselected(Table), Table[salesdate])
    return
    calculate(max(Table[comment]) , filter( Table, Table[salesdate] = _max))