|
@@ -577,6 +577,14 @@ public class AccountReportConstants {
|
|
|
" \"filed\": \"CASE WHEN sum(t1.download_completed) != 0 THEN concat(CAST(round(sum(t1.activation) / sum(t1.download_completed)*100,2) AS CHAR) ,'%') else '0.00%' end as activeRate \",\n" +
|
|
|
" \"comment\": \"下载完成激活率\"\n" +
|
|
|
" },\n" +
|
|
|
+ " \"eventNewUserPay\": {\n" +
|
|
|
+ " \"filed\": \"sum(t1.event_new_user_pay) as eventNewUserPay\",\n" +
|
|
|
+ " \"comment\": \"新增付费人数\"\n" +
|
|
|
+ " },\n" +
|
|
|
+ " \"eventNewUserPayCost\": {\n" +
|
|
|
+ " \"filed\": \"CASE WHEN sum(t1.charge) / sum(t1.event_new_user_pay) IS NULL THEN 0 ELSE round(sum(t1.charge)/sum(t1.event_new_user_pay),3) end as eventNewUserPayCost \",\n" +
|
|
|
+ " \"comment\": \"新增付费人数成本\"\n" +
|
|
|
+ " },\n" +
|
|
|
" \"eventNewUserPayRatio\": {\n" +
|
|
|
" \"filed\": \"CASE WHEN sum(t1.activation) != 0 THEN concat(CAST(round(sum(t1.event_pay) / sum(t1.activation)*100,2) AS CHAR) ,'%') else '0.00%' end as eventNewUserPayRatio \",\n" +
|
|
|
" \"comment\": \"新增付费人数率\"\n" +
|