-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththong_do_drill_through.page.aml
More file actions
121 lines (121 loc) · 2.45 KB
/
thong_do_drill_through.page.aml
File metadata and controls
121 lines (121 loc) · 2.45 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Dashboard thong_do_drill_through {
title: 'Thong Do - Drill Through'
owner: 'thong.do@holistics.io'
block title: TextBlock {
content: @md # Your title goes here ;;
}
block v_p6tl: VizBlock {
label: 'Status and Id'
viz: DataTable {
dataset: simple_dataset
fields: [
VizFieldFull {
ref: r(ecommerce_orders.status)
format {
type: 'text'
}
},
VizFieldFull {
ref: r(ecommerce_orders.id)
format {
type: 'number'
pattern: 'inherited'
}
}
]
settings {
show_row_number: true
row_limit: 5000
aggregate_awareness {
enabled: true
debug_comments: true
}
}
}
}
block f_orders_created_date: FilterBlock {
label: 'Orders Created Date'
type: 'field'
source: FieldFilterSource {
dataset: simple_dataset
field: r(ecommerce_orders.created_date)
}
default {
operator: 'matches'
value: '$H_NIL$'
}
settings {
drillthrough: Drillthrough {
enabled: true
sources: [
AutoDrillthroughSource {
}
]
}
}
}
block f_orders_status: FilterBlock {
label: 'Orders Status'
type: 'field'
source: FieldFilterSource {
dataset: simple_dataset
field: r(ecommerce_orders.status)
}
default {
operator: 'is'
value: 'delivered'
}
settings {
drillthrough: Drillthrough {
enabled: true
sources: [
AutoDrillthroughSource {
}
]
}
}
}
interactions: [
FilterInteraction {
from: 'f_orders_created_date'
to: [
CustomMapping {
block: 'f_orders_status'
disabled: true
}
]
},
FilterInteraction {
from: 'f_orders_status'
to: [
CustomMapping {
block: 'f_orders_created_date'
disabled: true
}
]
}
]
view: CanvasLayout {
label: 'View 1'
width: 1300
height: 800
grid_size: 20
auto_expand_vertically: true
block title {
position: pos(20, 20, 1260, 60)
}
block v_p6tl {
position: pos(60, 200, 660, 480)
}
block f_orders_status {
position: pos(420, 80, 300, 80)
}
block f_orders_created_date {
position: pos(80, 100, 300, 80)
}
mobile {
mode: 'auto'
}
}
theme: H.themes.vanilla
}