You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
1.0 KiB

  1. id,compare_method,description,expression,divider,name,dp,sequence,type,suffix
  2. mis_report_kpi_1,Percentage,CA,-balx2001,,ca,,1,Numeric,€
  3. mis_report_kpi_2,Percentage,CAHT invoice,sum([s.amount_untaxed for s in inv]),,total_invoice,,2,Numeric,€
  4. mis_report_kpi_3,Percentage,Cost,balx2110,,cost,,3,Numeric,€
  5. mis_report_kpi_4,Percentage,Profit,ca - cost,,profit,,4,Numeric,€
  6. mis_report_kpi_5,Difference,Margin,profit/ca,,margin,,5,Percentage,%
  7. mis_report_phonecall_kpi_1,Percentage,Total phone call,len(phone),,total_phone_call,,1,Numeric,
  8. mis_report_phonecall_kpi_2,Percentage,Average duration phone call,sum([p.duration for p in phone])/total_phone_call,,average_duration_phone_call,2,2,Numeric,
  9. mis_report_phonecall_kpi_3,Percentage,Total converted phone call,sum([p.opportunity_id and 1 or 0 for p in phone]),,phone_call_convert,,3,Numeric,
  10. mis_report_phonecall_kpi_4,Percentage,Average duration converted phone call,sum([p.opportunity_id and p.duration or 0 for p in phone]),,average_convert_duration_phone_c,2,4,Numeric,