-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdelighted_surveys.view.lookml
69 lines (53 loc) · 1.39 KB
/
delighted_surveys.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
- view: delighted_surveys
fields:
- dimension: id
primary_key: true
type: number
sql: ${TABLE}.id
- dimension: comment
type: string
sql: ${TABLE}.comment
- dimension_group: created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.created_at
- dimension_group: customer_created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.customer_created_at
- dimension: customer_email
type: string
sql: ${TABLE}.customer_email
- dimension: customer_name
type: string
sql: ${TABLE}.customer_name
- dimension: permalink
type: string
sql: ${TABLE}.permalink
- dimension: score
type: number
sql: ${TABLE}.score
- dimension_group: survey_created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.survey_created_at
- dimension_group: survey_updated
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.survey_updated_at
- dimension: surveyable_id
type: number
sql: ${TABLE}.surveyable_id
- dimension: surveyable_subtype
type: string
sql: ${TABLE}.surveyable_subtype
- dimension: surveyable_type
type: string
sql: ${TABLE}.surveyable_type
- dimension_group: updated
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.updated_at
- measure: count
type: count
drill_fields: [id, customer_name]