-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbigquery.forex.view.lkml
134 lines (117 loc) · 2.69 KB
/
bigquery.forex.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
view: bq_forex {
sql_table_name: `looker-datablocks.exchangerate.forex` ;;
#######Common Pairs######
dimension: AUD_USD {
label: "AUD/USD"
description: "1 Australian Dollar = X US Dollars"
group_label: "Common Pairs"
type: number
sql: ${TABLE}.AUD_USD ;;
}
dimension: CHF_JPY {
label: "CHF/JPY"
description: "1 Swiss Franc = X Japanese Yen"
type: number
sql: ${TABLE}.CHF_JPY ;;
group_label: "Common Pairs"
}
dimension: EUR_CHF {
label: "EUR/CHF"
description: "1 Euro = X Swiss Francs"
type: number
sql: ${TABLE}.EUR_CHF ;;
group_label: "Common Pairs"
}
dimension: EUR_GBP {
label: "EUR/GBP"
description: "1 Euro = X Great British Pounds"
type: number
sql: ${TABLE}.EUR_GBP ;;
group_label: "Common Pairs"
}
dimension: EUR_JPY {
label: "EUR/JPY"
description: "1 Euro = X Japanese Yen"
type: number
sql: ${TABLE}.EUR_JPY ;;
group_label: "Common Pairs"
}
dimension: EUR_USD {
label: "EUR/USD"
description: "1 Euro = X US Dollars"
type: number
sql: ${TABLE}.EUR_USD ;;
group_label: "Common Pairs"
}
dimension_group: exchange {
type: time
timeframes: [
raw,
date,
week,
month,
quarter,
year
]
convert_tz: no
datatype: date
sql: ${TABLE}.exchange_date ;;
}
dimension: GBP_CHF {
label: "GBP/CHF"
description: "1 Great British Pound = X Swiss Francs"
type: number
sql: ${TABLE}.GBP_CHF ;;
group_label: "Common Pairs"
}
dimension: GBP_JPY {
label: "GBP/JPY"
description: "1 Great British Pound = X Japanese Yen"
type: number
sql: ${TABLE}.GBP_JPY ;;
group_label: "Common Pairs"
}
dimension: GBP_USD {
label: "GBP/USD"
description: "1 Great British Pound = X US dollars"
type: number
sql: ${TABLE}.GBP_USD ;;
group_label: "Common Pairs"
}
dimension: NZD_USD {
label: "NZD/USD"
description: "1 New Zealand Dollar = X US dollars"
type: number
sql: ${TABLE}.NZD_USD ;;
group_label: "Common Pairs"
}
dimension: USD_CAD {
label: "USD/CAD"
description: "1 US dollar = X Canadian dollars"
type: number
sql: ${TABLE}.USD_CAD ;;
group_label: "Common Pairs"
}
dimension: USD_CHF {
label: "USD/CHF"
description: "1 US dollar = X Swiss Francs"
type: number
sql: ${TABLE}.USD_CHF ;;
group_label: "Common Pairs"
}
dimension: USD_JPY {
label: "USD/JPY"
description: "1 US dollar = X Japanese Yen"
type: number
sql: ${TABLE}.USD_JPY ;;
group_label: "Common Pairs"
}
measure: max {
type: max
sql: ${USD_CHF} ;;
}
measure: count {
type: count
drill_fields: []
}
}