-
Notifications
You must be signed in to change notification settings - Fork 0
/
look.view.lookml
68 lines (54 loc) · 1.2 KB
/
look.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
- view: look
sql_table_name: LOOK
fields:
- dimension: id
primary_key: true
type: int
sql: ${TABLE}.ID
- dimension_group: created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.CREATED_AT
- dimension_group: deleted
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.DELETED_AT
- dimension: description
sql: ${TABLE}.DESCRIPTION
- dimension: public
type: yesno
sql: ${TABLE}.PUBLIC
- dimension: public_slug
sql: ${TABLE}.PUBLIC_SLUG
- dimension: query_id
type: int
# hidden: true
sql: ${TABLE}.QUERY_ID
- dimension: space_id
type: int
# hidden: true
sql: ${TABLE}.SPACE_ID
- dimension: title
sql: ${TABLE}.TITLE
- dimension: user_id
type: int
# hidden: true
sql: ${TABLE}.USER_ID
- measure: count
type: count
drill_fields: detail*
# ----- Sets of fields for drilling ------
sets:
detail:
- id
- query.id
- user.first_name
- user.last_name
- user.dev_mode_user_id
- user.dev_branch_name
- space.name
- space.id
- dashboard_element.count
- history.count
- scheduled_look.count
- scheduled_task_look.count