KPI processing on the cdr data