Forum Discussion

indhu's avatar
indhu
Icon for Helper III rankHelper III
7 years ago
Solved

DAX help - Get latest value for each ID

Hi all,    I have a dataset which looks like below and would like to find the last value in each column for each user.    User Name    |   Value   | Date --------------------------------------- ...
  • Ashish_Mathur's avatar
    Ashish_Mathur
    7 years ago

    Hi,

     

    This one works

     

    =if(HASONEFILTER(Table1[Name]),LOOKUPVALUE(Table1[Value],Table1[Date],[Latest value],Table1[Name],VALUES(Table1[Name])),BLANK())

     

    Hope this helps.