Forum Discussion

ToddMate's avatar
ToddMate
Helper II
7 years ago
Solved

DateDiff where End Date is Null

Hi All,   I need assistance, with dates and tenures .. but not the usual A Date - B Date scenario as i have a measure to do this. What i am looking for is an extension to this measure where, if the...
  • Mariusz's avatar
    7 years ago

    Hi ToddMate ,

     

    You can use the code below.

    Tenure =  1.0 * ( IF(X_Churns[Churn Date] = BLANK(), TODAY(), X_Churns[Churn Date]) - X_Connects[Connect Date] )

    Hope it helps.

    Mariusz