-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeaths.view.lkml
56 lines (55 loc) · 1.14 KB
/
deaths.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
#This is not going to be used, but I'm leaving it here just in case.
# view: deaths {
# sql_table_name: game_of_thrones_19.deaths ;;
#
# dimension: death_episode {
# type: number
# sql: ${TABLE}.death_episode ;;
# }
#
# dimension: unique_episode {
# #For joining into episodes
# type: string
# sql: CONCAT(CAST(${death_season} AS string),"-",CAST(${death_episode} AS string)) ;;
# }
#
# dimension: death_isflashback {
# type: yesno
# sql: ${TABLE}.death_isflashback ;;
# }
#
# dimension: death_season {
# type: number
# sql: ${TABLE}.death_season ;;
# }
#
# dimension: execution {
# label: "Manner of Death"
# type: string
# sql: ${TABLE}.execution ;;
# }
#
# dimension: likelihoodofreturn {
# label: "Likelihood of Return"
# type: string
# sql: ${TABLE}.likelihoodofreturn ;;
# }
#
# dimension: name {
# label: "Character Name"
# hidden: yes
# type: string
# sql: ${TABLE}.name ;;
# primary_key: yes
# }
#
# dimension: role {
# type: string
# sql: ${TABLE}.role ;;
# }
#
# measure: count {
# type: count
# drill_fields: [name]
# }
# }