Forum Discussion

EiA's avatar
EiA
Frequent Visitor
3 years ago
Solved

Churn calculation

Hi all,   There is obviously already tons of different churn-threads in here, but I wasn't able to find one for my case (may very well be me not knowing what to search for..)   Simplified, but th...
  • johnt75's avatar
    3 years ago

    You could create a calculated column like

    Has further contract = 
    var currentEndDate = 'Table'[EndDate]
    return NOT ISEMPTY( CALCULATETABLE( 'Table', ALLEXCEPT('Table', 'Table'[CustomerID]), 'Table'[StartDate] >= currentEndDate ) )