Forum Discussion

DKwustl's avatar
DKwustl
New Member
3 years ago
Solved

Displaying the latest date with comment correctly

I am having issues with a tracking report I have created. The data looks like the following within the database:   Item Type Event Time User Comment Workstation Slide A 1/4/23 12:37pm J...
  • Greg_Deckler's avatar
    3 years ago

    DKwustl Maybe:

    Last scan status measure = 
      VAR __LastScanDate = MAX('Table',[Event Time])
      VAR __LastStatus = MAXX(FILTER('Table',[Event Time] = __LastScanDate),[Comment])
    RETURN
      __LastScanDate