-
Notifications
You must be signed in to change notification settings - Fork 4
/
match_table_audience_explorer.view.lkml
74 lines (64 loc) · 1.26 KB
/
match_table_audience_explorer.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
view: match_table_audience_explorer {
sql_table_name:`ekoblov-test.dfp.MatchTableAudienceExplorer_82109981` ;;
dimension: id {
primary_key: yes
type: number
sql: ${TABLE}.Id ;;
}
dimension_group: _data {
type: time
timeframes: [
raw,
date,
week,
month,
quarter,
year
]
sql: timestamp(${TABLE}._DATA_DATE) ;;
}
dimension_group: _latest {
type: time
timeframes: [
raw,
date,
week,
month,
quarter,
year
]
convert_tz: no
sql: timestamp( ${TABLE}._LATEST_DATE) ;;
}
dimension: thirty_day_active_size {
type: number
hidden: yes
sql: ${TABLE}.ThirtyDayActiveSize ;;
}
dimension: thirty_day_clicks {
type: number
hidden: yes
sql: ${TABLE}.ThirtyDayClicks ;;
}
dimension: thirty_day_impressions {
type: number
hidden: yes
sql: ${TABLE}.ThirtyDayImpressions ;;
}
measure: total_thirty_day_active_size {
type: max
sql: ${thirty_day_active_size};;
}
measure: total_thirty_day_clicks {
type: max
sql: ${thirty_day_clicks} ;;
}
measure: total_thirty_day_impressions {
type: max
sql: ${thirty_day_impressions} ;;
}
measure: count {
type: count
drill_fields: [id]
}
}