-
Notifications
You must be signed in to change notification settings - Fork 0
/
spree_variants.view.lookml
86 lines (65 loc) · 1.49 KB
/
spree_variants.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
82
83
84
85
- view: spree_variants
fields:
- dimension: id
primary_key: true
type: int
sql: ${TABLE}.id
- dimension: cost_currency
type: string
sql: ${TABLE}.cost_currency
- dimension: cost_price
type: number
sql: ${TABLE}.cost_price
- dimension_group: deleted
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.deleted_at
- dimension: depth
type: number
sql: ${TABLE}.depth
- dimension: height
type: number
sql: ${TABLE}.height
- dimension: is_master
type: int
sql: ${TABLE}.is_master
- dimension: original_price
type: number
sql: ${TABLE}.original_price
- dimension: position
type: int
sql: ${TABLE}.position
- dimension: preorder
type: int
sql: ${TABLE}.preorder
- dimension: product_id
type: int
sql: ${TABLE}.product_id
- dimension: sale
type: int
sql: ${TABLE}.sale
- dimension: sku
type: string
sql: ${TABLE}.sku
- dimension: stock_items_count
type: int
sql: ${TABLE}.stock_items_count
- dimension: tax_category_id
type: int
sql: ${TABLE}.tax_category_id
- dimension: track_inventory
type: int
sql: ${TABLE}.track_inventory
- dimension_group: updated
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.updated_at
- dimension: weight
type: number
sql: ${TABLE}.weight
- dimension: width
type: number
sql: ${TABLE}.width
- measure: count
type: count
drill_fields: [id]