forked from llooker/demo_segment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1_event_dashboard.dashboard.lookml
182 lines (167 loc) · 4.17 KB
/
1_event_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
- dashboard: 1_event_dashboard
title: Tracks Overview
layout: tile
tile_size: 100
filters:
- name: date
title: "Date"
type: date_filter
default_value: 2016
# - name: event
# title: 'First Event'
# type: field_filter
# model: tracks
# explore: track_facts
# field: tracks.event
# default_value: 'login'
elements:
- name: unique_users
title: Unique Users
type: single_value
model: tracks
explore: track_facts
measures: [track_facts.count_visitors]
# listen:
# date: tracks.sent_date
# event: tracks.event
sorts: [track_facts.count_visitors desc]
limit: 500
font_size: medium
width: 4
height: 2
- name: add_a_unique_name_4380
title: Total Tracks
type: single_value
model: tracks
explore: track_facts
measures: [tracks.count]
# listen:
# date: tracks.sent_date
# event: tracks.event
sorts: [tracks.count desc]
limit: 500
font_size: medium
width: 4
height: 2
- name: add_a_unique_name_863
title: Pages Count
type: single_value
model: pages
explore: event_facts
measures: [pages.count_pageviews]
listen:
date: pages.received_date
# event: tracks.event
sorts: [pages.count_pageviews desc]
limit: 500
font_size: medium
width: 4
height: 2
# - name: add_a_unique_name_769
# title: Device Type Breakdown
# type: looker_pie
# model: demo_new
# explore: tracks
# dimensions: [tracks.context_device_type]
# measures: [tracks.count]
# filters:
# tracks.context_device_type: -NULL
# sorts: [tracks.count desc]
# limit: 500
# width: 4
# height: 2
# - name: add_a_unique_name_313
# title: Carrier Breakdown
# type: looker_pie
# model: demo_new
# explore: tracks
# dimensions: [tracks.context_carrier]
# measures: [tracks.count]
# # filters:
# # tracks.context_carrier: -NULL
# sorts: [tracks.count desc]
# limit: 500
# width: 6
# height: 4
# - name: add_a_unique_name_203
# title: Manufacturer Breakdown
# type: looker_pie
# model: demo_segment
# explore: tracks
# dimensions: [tracks.context_device_manufacturer]
# measures: [tracks.count]
# filters:
# tracks.context_device_manufacturer: -NULL
# sorts: [tracks.count desc]
# limit: 500
# width: 3
# height: 3
# - name: add_a_unique_name_11
# title: Top Device Models
# type: table
# model: demo_new
# explore: tracks
# dimensions: [tracks.context_device_model]
# measures: [tracks.count]
# # filters:
# # tracks.context_device_model: -NULL
# sorts: [tracks.count desc]
# limit: 50
# width: 6
# height: 4
- name: add_a_unique_name_110
title: Daily Tracks Count
type: looker_line
model: tracks
explore: track_facts
dimensions: [tracks.received_date]
measures: [tracks.count]
# listen:
# date: tracks.sent_date
# event: tracks.event
sorts: [tracks.sent_date]
limit: 500
show_null_points: true
stacking: ''
show_value_labels: false
x_axis_gridlines: false
y_axis_gridlines: true
show_view_names: true
show_y_axis_labels: true
show_y_axis_ticks: true
show_x_axis_label: true
show_x_axis_ticks: true
x_axis_scale: auto
reference_lines:
- value: [max, mean]
label: Above Average
color: lightslategray
- value: [median]
label: Median
color: lightslategray
point_style: none
interpolation: linear
y_axis_orientation: [left, right]
- name: add_a_unique_name_973
title: Top 25 Event Types by Track Count
type: looker_column
model: tracks
explore: track_facts
dimensions: [tracks.event]
measures: [tracks.count]
# listen:
# date: tracks.sent_date
sorts: [tracks.count desc]
limit: 25
show_x_axis_label: true
show_x_axis_ticks: true
x_axis_gridlines: false
x_axis_label_rotation: -50
stacking: ''
show_value_labels: false
y_axis_gridlines: true
show_view_names: true
show_y_axis_labels: true
show_y_axis_ticks: true
x_axis_scale: auto
show_null_labels: false