Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Calculate in calculated Column

I am trying to find out how many calls that I have got with in the last 3 days with the name of same account number. For that I choose to create a caluculated column which finds the number of calls w...
  • Anonymous's avatar
    Anonymous
    7 years ago

    I made mofications and finally I made this to work by using the below formula...

    =
    VAR DT = call_details[SHORT_START_DT]
    RETURN
    CALCULATE (
    DISTINCTCOUNT ( call_details[CALL_ID] ),
    ALLEXCEPT ( call_details, call_details[FINAL_ACCT_ID] ),
    call_details[SHORT_START_DT] < DT
    && call_details[SHORT_START_DT]
    >= DT - 3
    )