-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser.view.lookml
82 lines (65 loc) · 1.57 KB
/
user.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
- view: user
sql_table_name: USER
fields:
- dimension: dev_mode_user_id
primary_key: true
type: int
sql: ${TABLE}.DEV_MODE_USER_ID
- dimension: browser_count
type: int
sql: ${TABLE}.BROWSER_COUNT
- dimension: chat_popover
type: yesno
sql: ${TABLE}.CHAT_POPOVER
- dimension: dev_mode
type: yesno
sql: ${TABLE}.DEV_MODE
- dimension: email
sql: ${TABLE}.EMAIL
- dimension: first_name
sql: ${TABLE}.FIRST_NAME
- dimension: id
type: int
sql: ${TABLE}.ID
- dimension: is_admin
type: yesno
sql: ${TABLE}.IS_ADMIN
- dimension: is_disabled
type: yesno
sql: ${TABLE}.IS_DISABLED
- dimension: is_looker_employee
type: yesno
sql: ${TABLE}.IS_LOOKER_EMPLOYEE
- dimension: last_name
sql: ${TABLE}.LAST_NAME
- dimension: models
sql: ${TABLE}.MODELS
- dimension: models_dir
sql: ${TABLE}.MODELS_DIR
- measure: count
type: count
detail: detail*
# ----- Detail ------
sets:
detail:
- first_name
- last_name
- dev_mode_user_id
# Counters for views that join 'user'
- api_nonce.count
- credentials_api.count
- credentials_email.count
- credentials_ephemeral.count
- credentials_ldap.count
- credentials_looker_openid.count
- credentials_totp.count
- db_connection.count
- event.count
- history.count
- look.count
- role_user.count
- scheduled_look.count
- scheduled_look_action.count
- session.count
- user_access_filter.count
- user_attribute.count