Forum Discussion

michael_knight's avatar
michael_knight
Post Prodigy
4 years ago
Solved

Display which attempt based on dates

Hi All,   I'm trying to display which attempt we're on in terms of booking people in for Initial calls. I've inputted a table below of what the expected resuls will be Membership Call Date Ca...
  • amitchandak's avatar
    amitchandak
    4 years ago

    michael_knight , I do saw any first call in your result column

     

    I think a new column like 

    Var _1 = Countx(filter(table, [Membership] = earlier([Membership]) && [Call Type] <> "Call Type" && [Call Date] <= earlier([Call Date])), [Call Date])

    return

    if(_1 =1, "1st Call", (_1 -1) &  " Attempt" )