-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphishnet_shows.view.lkml
88 lines (74 loc) · 1.39 KB
/
phishnet_shows.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
view: phishnet_shows {
sql_table_name: dean_looker_phish_thesis.phishnet_shows ;;
dimension: artistid {
type: number
value_format_name: id
sql: ${TABLE}.artistid ;;
}
dimension: artistlink {
type: string
sql: ${TABLE}.artistlink ;;
}
dimension: billed_as {
type: string
sql: ${TABLE}.billed_as ;;
}
dimension: link {
type: string
sql: ${TABLE}.link ;;
}
dimension: location {
type: string
sql: ${TABLE}.location ;;
}
dimension: setlistnotes {
type: string
sql: ${TABLE}.setlistnotes ;;
}
dimension_group: showdate {
type: time
timeframes: [
raw,
date,
week,
month,
quarter,
year
]
convert_tz: no
datatype: date
sql: ${TABLE}.showdate ;;
}
dimension: showid {
type: number
value_format_name: id
# hidden: yes
sql: ${TABLE}.showid ;;
}
dimension: tour_when {
type: string
sql: ${TABLE}.tour_when ;;
}
dimension: tourid {
type: number
value_format_name: id
sql: ${TABLE}.tourid ;;
}
dimension: tourname {
type: string
sql: ${TABLE}.tourname ;;
}
dimension: venue {
type: string
sql: ${TABLE}.venue ;;
}
dimension: venueid {
type: number
value_format_name: id
sql: ${TABLE}.venueid ;;
}
measure: count {
type: count
drill_fields: [tourname, shows.showid, shows.tourname]
}
}