-
Notifications
You must be signed in to change notification settings - Fork 0
/
accounts.view.lookml
75 lines (59 loc) · 1.45 KB
/
accounts.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
- view: accounts
fields:
- dimension: service_account_id
primary_key: true
type: string
sql: ${TABLE}.service_account_id
- dimension: accessible
type: yesno
sql: ${TABLE}.accessible
- dimension: airenvy_bank_account
type: yesno
sql: ${TABLE}.airenvy_bank_account
- dimension_group: created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.created_at
- dimension: encrypted_password
type: string
sql: ${TABLE}.encrypted_password
- dimension: id
type: number
sql: ${TABLE}.id
- dimension: messages_count
type: number
sql: ${TABLE}.messages_count
- dimension: service
type: number
sql: ${TABLE}.service
- dimension: unread_messages_count
type: number
sql: ${TABLE}.unread_messages_count
- dimension_group: updated
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.updated_at
- dimension: user_id
type: number
# hidden: true
sql: ${TABLE}.user_id
- dimension: username
type: string
sql: ${TABLE}.username
- measure: count
type: count
drill_fields: detail*
# ----- Sets of fields for drilling ------
sets:
detail:
- service_account_id
- username
- users.emergency_contact_name
- users.airbnb_username
- users.name
- users.id
- communications.count
- crawl_user_account_jobs.count
- listings.count
- messages.count
- user_account_listing_details.count