-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperformance_data.view.lookml
70 lines (54 loc) · 1.38 KB
/
performance_data.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
- view: performance_data
fields:
- dimension: id
primary_key: true
type: number
sql: ${TABLE}.id
- dimension: available_weekdays
type: number
sql: ${TABLE}.available_weekdays
- dimension: available_weekends
type: number
sql: ${TABLE}.available_weekends
- dimension: booked_weekdays
type: number
sql: ${TABLE}.booked_weekdays
- dimension: booked_weekends
type: number
sql: ${TABLE}.booked_weekends
- dimension: booking_revenue
type: number
sql: ${TABLE}.booking_revenue
- dimension_group: created
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.created_at
- dimension: danger
type: yesno
sql: ${TABLE}.danger
- dimension_group: end
type: time
timeframes: [date, week, month]
convert_tz: false
sql: ${TABLE}.end_date
- dimension: inquiry_count
type: number
sql: ${TABLE}.inquiry_count
- dimension: property_id
type: number
sql: ${TABLE}.property_id
- dimension: reservations_booked_count
type: number
sql: ${TABLE}.reservations_booked_count
- dimension_group: start
type: time
timeframes: [date, week, month]
convert_tz: false
sql: ${TABLE}.start_date
- dimension_group: updated
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.updated_at
- measure: count
type: count
drill_fields: [id]