Forum Discussion
jitpbi
Post Patron
5 years agoselect 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 ...
- 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]))
amitchandak
Super User
5 years agojitpbi , 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]))