-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver_sku.view.lkml
51 lines (43 loc) · 1.03 KB
/
server_sku.view.lkml
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
view: server_sku {
sql_table_name: capacity.server_sku ;;
dimension: common_name {
description: "The server's common name"
type: string
sql: ${TABLE}."CommonName" ;;
}
dimension: old_product {
description: "previous product sku number"
type: string
sql: ${TABLE}."OldProduct" ;;
}
dimension: old_sku {
description: "previous product sku name"
type: string
sql: ${TABLE}."OldSku" ;;
}
dimension: product {
description: "Server current sku"
type: string
sql: ${TABLE}."Product" ;;
}
dimension: short_name {
description: "Server short name HA, HB, etc"
type: string
sql: ${TABLE}."ShortName" ;;
}
dimension: sku {
description: "the XXX-XXXX-XXX number"
type: string
sql: ${TABLE}."Sku" ;;
}
dimension: vendor {
description: "Dell or Supermicro"
type: string
sql: ${TABLE}."Vendor" ;;
}
measure: count {
description: "Number of distinct objects returned in query"
type: count
drill_fields: [short_name, common_name]
}
}