forked from llooker/demo_segment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3_event_flow_dashboard.dashboard.lookml
309 lines (294 loc) · 7.91 KB
/
3_event_flow_dashboard.dashboard.lookml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
- dashboard: 3_event_flow_dashboard
title: Event Flow Analysis
layout: tile
tile_size: 100
filters:
- name: date
title: "Date"
type: date_filter
default_value: 2016
- name: event
title: 'First Event'
type: text
model: tracks
explore: track_facts
field: track_facts.event
default_value: 'login'
elements:
- name: tracks_drop_off
title: Tracks Drop Off
type: looker_column
model: tracks
explore: track_facts
measures: [tracks.count, tracks_flow.event_2_drop_off, tracks_flow.event_3_drop_off,
tracks_flow.event_4_drop_off, tracks_flow.event_5_drop_off]
# listen:
# event: tracks.event
sorts: [tracks.count desc]
limit: 500
height: 4
width: 12
stacking: ''
colors: ['#a6cee3', '#1f78b4', '#b2df8a', '#33a02c', '#fdbf6f', '#ff7f00', '#cab2d6',
'#6a3d9a', '#edbc0e', '#b15928']
show_value_labels: true
label_density: 25
legend_position: center
x_axis_gridlines: false
y_axis_gridlines: true
show_view_names: false
y_axis_combined: true
show_y_axis_labels: true
show_y_axis_ticks: true
y_axis_tick_density: default
show_x_axis_label: true
show_x_axis_ticks: true
x_axis_scale: auto
show_null_labels: false
show_dropoff: true
- name: event_flow
title: Event Flow
type: table
model: tracks
explore: track_facts
dimensions: [tracks.event, tracks_flow.event_2, tracks_flow.event_3, tracks_flow.event_4,
tracks_flow.event_5]
measures: [tracks.count]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
height: 4
width: 12
limit: 500
show_view_names: false
show_row_numbers: true
truncate_column_names: false
- name: top_five_second
title: Top 5 Second Events
type: looker_bar
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_2]
measures: [tracks.count]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
height: 4
width: 3
limit: 5
stacking: ''
colors: ['#a6cee3', '#1f78b4', '#b2df8a', '#33a02c', '#fb9a99', '#e31a1c', '#fdbf6f',
'#ff7f00', '#cab2d6', '#6a3d9a', '#edbc0e', '#b15928']
show_value_labels: false
label_density: 25
legend_position: center
x_axis_gridlines: false
y_axis_gridlines: true
show_view_names: false
y_axis_combined: true
show_y_axis_labels: true
show_y_axis_ticks: true
y_axis_tick_density: default
show_x_axis_label: false
show_x_axis_ticks: true
x_axis_scale: auto
show_null_labels: false
- name: top_five_third
title: Top 5 Third Events
type: looker_bar
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_3]
measures: [tracks.count]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 5
height: 4
width: 3
stacking: ''
colors: ['#a6cee3', '#1f78b4', '#b2df8a', '#33a02c', '#fb9a99', '#e31a1c', '#fdbf6f',
'#ff7f00', '#cab2d6', '#6a3d9a', '#edbc0e', '#b15928']
show_value_labels: false
label_density: 25
legend_position: center
x_axis_gridlines: false
y_axis_gridlines: true
show_view_names: false
y_axis_combined: true
show_y_axis_labels: true
show_y_axis_ticks: true
y_axis_tick_density: default
show_x_axis_label: false
show_x_axis_ticks: true
x_axis_scale: auto
show_null_labels: false
- name: top_five_fourth
title: Top 5 Fourth Events
type: looker_bar
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_4]
measures: [tracks.count]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 5
height: 4
width: 3
stacking: ''
colors: ['#a6cee3', '#1f78b4', '#b2df8a', '#33a02c', '#fb9a99', '#e31a1c', '#fdbf6f',
'#ff7f00', '#cab2d6', '#6a3d9a', '#edbc0e', '#b15928']
show_value_labels: false
label_density: 25
legend_position: center
x_axis_gridlines: false
y_axis_gridlines: true
show_view_names: false
y_axis_combined: true
show_y_axis_labels: true
show_y_axis_ticks: true
y_axis_tick_density: default
show_x_axis_label: false
show_x_axis_ticks: true
x_axis_scale: auto
show_null_labels: false
- name: top_five_fifth
title: Top 5 Fifth Events
type: looker_bar
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_5]
measures: [tracks.count]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 5
height: 4
width: 3
stacking: ''
colors: ['#a6cee3', '#1f78b4', '#b2df8a', '#33a02c', '#fb9a99', '#e31a1c', '#fdbf6f',
'#ff7f00', '#cab2d6', '#6a3d9a', '#edbc0e', '#b15928']
show_value_labels: false
label_density: 25
legend_position: center
x_axis_gridlines: false
y_axis_gridlines: true
show_view_names: false
y_axis_combined: true
show_y_axis_labels: true
show_y_axis_ticks: true
y_axis_tick_density: default
show_x_axis_label: false
show_x_axis_ticks: true
x_axis_scale: auto
show_null_labels: false
- name: top_second
title: Second Event
type: table
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_2]
measures: [tracks.count, tracks.count_percent_of_total]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 500
height: 4
width: 3
show_view_names: false
show_row_numbers: true
truncate_column_names: false
- name: top_third
title: Third Event
type: table
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_3]
measures: [tracks.count, tracks.count_percent_of_total]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 500
height: 4
width: 3
show_view_names: false
show_row_numbers: true
truncate_column_names: false
- name: top_fourth
title: Fourth Event
type: table
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_4]
measures: [tracks.count, tracks.count_percent_of_total]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 500
height: 4
width: 3
show_view_names: false
show_row_numbers: true
truncate_column_names: false
- name: top_fifth
title: Fifth Event
type: table
model: tracks
explore: track_facts
dimensions: [tracks_flow.event_5]
measures: [tracks.count, tracks.count_percent_of_total]
# listen:
# event: tracks.event
filters:
tracks_flow.event_2: -NULL
tracks_flow.event_3: -NULL
tracks_flow.event_4: -NULL
tracks_flow.event_5: -NULL
sorts: [tracks.count desc]
limit: 500
height: 4
width: 3
show_view_names: false
show_row_numbers: true
truncate_column_names: false