Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
2646d22e
Commit
2646d22e
authored
Aug 24, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push codes
parent
656f5259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
clue_daily.sql
pm/clue_daily/report/clue_daily.sql
+10
-0
No files found.
pm/clue_daily/report/clue_daily.sql
View file @
2646d22e
...
...
@@ -4,14 +4,20 @@ SELECT day_id `日期`
,
grey_type
`是否灰度`
,
dau
as
`dau(不去除积分墙)`
,
user_num
as
`注册的用户数`
,
total_valid_dev
+
valid_call_dev_d
as
`总有效咨询设备(去重)`
,
total_valid_num
+
valid_call_num_d
as
`总有效线索`
,
concat
(
round
((
total_valid_dev
+
valid_call_dev_d
)
/
dau
,
2
)
*
100
,
'%'
)
as
`总有效线索设备(去重)/dau`
,
concat
(
round
((
total_valid_num
+
valid_call_num_d
)
/
dau
,
2
)
*
100
,
'%'
)
as
`总有效线索/dau`
,
msg_dev
as
`私信咨询设备数-总计`
,
msg_num
as
`私信咨询人次-总计`
,
valid_msg_dev
as
`有效私信咨询设备数-总计`
,
valid_msg_num
as
`有效私信咨询人次-总计`
,
concat
(
round
(
valid_msg_num
/
msg_num
,
2
)
*
100
,
'%'
)
as
`有效私信咨询人次/私信咨询人次`
,
clue_dev
as
`授权电话线索设备数-总计`
,
clue_num
as
`授权电话线索人次-总计`
,
call_dev
+
call_dev_d
as
`拨打电话线索设备数-总计`
,
call_num
+
call_num_d
as
`拨打电话线索人次-总计`
,
concat
(
round
((
call_num
+
call_num_d
)
/
clue_num
,
2
)
*
100
,
'%'
)
as
`拨打电话人次/授权电话人次`
,
valid_call_dev
+
valid_call_dev_d
as
`有效电话线索设备数-总计`
,
valid_call_num
+
valid_call_num_d
as
`有效电话线索人次-总计`
,
call_dev
as
`当天拨打电话线索设备数-总计`
...
...
@@ -21,14 +27,18 @@ SELECT day_id `日期`
,
msg_dev_3
`私信咨询设备数-3级以上商户`
,
msg_num_3
`私信咨询人次-3级以上商户`
,
concat
(
round
(
msg_num_3
/
msg_num
,
2
)
*
100
,
'%'
)
as
`私信咨询人次-3级以上/私信咨询人次`
,
valid_msg_dev_3
`有效私信咨询设备数-3级以上商户`
,
valid_msg_num_3
as
`有效私信咨询人次-3级以上商户`
,
clue_dev_3
as
`授权电话线索设备数-3级以上商户`
,
clue_num_3
as
`授权电话线索人次-3级以上商户`
,
concat
(
round
(
clue_num_3
/
clue_num
,
2
)
*
100
,
'%'
)
as
`授权电话线索-3级以上/授权电话线索`
,
call_dev_3
+
call_dev_3_d
as
`拨打电话线索设备数-3级以上商户`
,
call_num_3
+
valid_call_num_3
as
`拨打电话线索人次-3级以上商户`
,
concat
(
round
((
call_num_3
+
valid_call_num_3
)
/
clue_num_3
,
2
)
*
100
,
'%'
)
as
`拨打电话线索人次-3级以上/授权电话线索人次-3级以上`
,
valid_call_dev_3
+
valid_call_dev_3_d
as
`有效电话线索设备数-3级以上商户`
,
valid_call_num_3
+
valid_call_num_3_d
as
`有效电话线索人次-3级以上商户`
,
concat
(
round
((
valid_call_num_3
+
valid_call_num_3_d
)
/
clue_num_3
,
2
)
*
100
,
'%'
)
as
`有效电话线索人次-3级以上/授权电话线索人次-3级以上`
,
call_dev_3
as
`当天拨打电话线索设备数-3级以上商户`
,
call_num_3
as
`当天拨打电话线索人次-3级以上商户`
,
valid_call_dev_3
as
`当天有效电话线索设备数-3级以上商户`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment