-
Notifications
You must be signed in to change notification settings - Fork 0
/
standings.view.lkml
63 lines (51 loc) · 961 Bytes
/
standings.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
view: standings {
sql_table_name: football.standings ;;
dimension: against {
type: number
sql: ${TABLE}.Against ;;
}
dimension: difference {
type: number
sql: ${TABLE}.Difference ;;
}
dimension: draw {
type: number
sql: ${TABLE}.Draw ;;
}
dimension: goals {
type: number
sql: ${TABLE}.Goals ;;
}
dimension: loss {
type: number
sql: ${TABLE}.Loss ;;
}
dimension: played {
type: number
sql: ${TABLE}.Played ;;
}
dimension: points {
type: number
sql: ${TABLE}.Points ;;
}
dimension: position {
type: number
sql: ${TABLE}.Position ;;
}
dimension: season {
type: number
sql: ${TABLE}.Season ;;
}
dimension: team {
type: string
sql: ${TABLE}.Team ;;
}
dimension: win {
type: number
sql: ${TABLE}.Win ;;
}
measure: count {
type: count
drill_fields: [season, team, position, win, draw, loss, difference]
}
}