Forum Discussion

DataPeter's avatar
DataPeter
Frequent Visitor
6 years ago
Solved

Standardise Date into Single Occurrences

Hi All   Long term reader, first time commenter – love this support forum!   Problem: I’m trying to standardise customer records entry dates by occurrence. In short, I want to standardize the fir...
  • Greg_Deckler's avatar
    Greg_Deckler
    6 years ago

    DataPeter - You must have a time component, try:

     

    Outcome (Column) =
      VAR __Min = MINX(FILTER('Table',[Customer] = EARLIER([Customer])),[Date/Time Stamp])
    RETURN
      "Day " & FLOOR((([Date/Time Stamp] - __Min) * 1. + 1),1)