-
Notifications
You must be signed in to change notification settings - Fork 0
/
cities.view.lookml
83 lines (63 loc) · 1.44 KB
/
cities.view.lookml
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
- view: cities
fields:
- dimension: id
primary_key: true
type: number
sql: ${TABLE}.id
- dimension: active
type: yesno
sql: ${TABLE}.active
- dimension: address1
type: string
sql: ${TABLE}.address1
- dimension: address2
type: string
sql: ${TABLE}.address2
- dimension: city
type: string
sql: ${TABLE}.city
- dimension: city_bio
type: string
sql: ${TABLE}.city_bio
- dimension_group: created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.created_at
- dimension: email
type: string
sql: ${TABLE}.email
- dimension: image_url
type: string
sql: ${TABLE}.image_url
- dimension: mailing_city
type: string
sql: ${TABLE}.mailing_city
- dimension: mailing_state
type: string
sql: ${TABLE}.mailing_state
- dimension: mco_photo
type: string
sql: ${TABLE}.mco_photo
- dimension: phone_number
type: string
sql: ${TABLE}.phone_number
- dimension: region_id
type: number
# hidden: true
sql: ${TABLE}.region_id
- dimension: state
type: string
sql: ${TABLE}.state
- dimension_group: updated
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.updated_at
- dimension: url_city
type: string
sql: ${TABLE}.url_city
- dimension: zip
type: string
sql: ${TABLE}.zip
- measure: count
type: count
drill_fields: [id, regions.name, regions.id]