Forum Discussion

jitpbi's avatar
jitpbi
Post Patron
5 years ago
Solved

select value for latest timestamp

Hi,   I have a set of values and I would like to select the latest value of RUL for each ICR and Inverter based on the Datetime created.    from the below table latest RUL for ICR1 and INV1 will ...
  • amitchandak's avatar
    5 years ago

    jitpbi , Try three measures like

     

    last ICR = lastnonblankvalue(Table[Datetime], max(Table[ICR]))
    last Inverter = lastnonblankvalue(Table[Datetime], max(Table[Inverter]))
    last RUL = lastnonblankvalue(Table[Datetime], max(Table[RUL]))