-
Notifications
You must be signed in to change notification settings - Fork 0
/
mmxmp_production.view.lkml
156 lines (124 loc) · 2.43 KB
/
mmxmp_production.view.lkml
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
view: mmxmp_production {
sql_table_name: PUBLIC.MMXMP_PRODUCTION ;;
dimension: break_id {
type: string
sql: ${TABLE}."BREAK_ID" ;;
}
dimension: country {
type: string
map_layer_name: countries
sql: ${TABLE}."COUNTRY" ;;
}
dimension: description {
type: string
sql: ${TABLE}."DESCRIPTION" ;;
}
dimension: load_type_id {
type: string
sql: ${TABLE}."LOAD_TYPE_ID" ;;
}
dimension: load_type_name {
type: string
sql: ${TABLE}."LOAD_TYPE_NAME" ;;
}
dimension: location_id {
type: string
sql: ${TABLE}."LOCATION_ID" ;;
}
dimension: locationname {
type: string
sql: ${TABLE}."LOCATIONNAME" ;;
}
dimension: month_name {
type: string
sql: ${TABLE}."MONTH_NAME" ;;
}
dimension: population_id {
type: number
sql: ${TABLE}."POPULATION_ID" ;;
}
dimension: time_period_id {
type: string
sql: ${TABLE}."TIME_PERIOD_ID" ;;
}
dimension: time_type {
type: string
sql: ${TABLE}."TIME_TYPE" ;;
}
dimension: time_type_text {
type: string
sql: ${TABLE}."TIME_TYPE_TEXT" ;;
}
dimension: web_id {
type: string
sql: ${TABLE}."WEB_ID" ;;
}
dimension: web_id2 {
type: string
sql: ${TABLE}."WEB_ID2" ;;
}
measure: dpages {
type: sum
sql: ${TABLE}."DPAGES" ;;
}
measure: dpages_raw {
type: sum
sql: ${TABLE}."DPAGES_RAW" ;;
}
measure: duration {
type: sum
sql: ${TABLE}."DURATION" ;;
}
measure: duration_raw {
type: sum
sql: ${TABLE}."DURATION_RAW" ;;
}
measure: engaged {
type: sum
sql: ${TABLE}."ENGAGED" ;;
}
measure: engaged_raw {
type: sum
sql: ${TABLE}."ENGAGED_RAW" ;;
}
measure: pages {
type: sum
sql: ${TABLE}."PAGES" ;;
}
measure: pages_raw {
type: sum
sql: ${TABLE}."PAGES_RAW" ;;
}
measure: sessions {
type: sum
sql: ${TABLE}."SESSIONS" ;;
}
measure: sessions_raw {
type: sum
sql: ${TABLE}."SESSIONS_RAW" ;;
}
measure: stability {
type: sum
sql: ${TABLE}."STABILITY" ;;
}
measure: visitors {
type: sum
sql: ${TABLE}."VISITORS" ;;
}
measure: visitors_raw {
type: sum
sql: ${TABLE}."VISITORS_RAW" ;;
}
measure: visits {
type: sum
sql: ${TABLE}."VISITS" ;;
}
measure: visits_raw {
type: sum
sql: ${TABLE}."VISITS_RAW" ;;
}
measure: count {
type: count
drill_fields: [month_name, load_type_name, locationname]
}
}