-
Notifications
You must be signed in to change notification settings - Fork 0
/
contacts.view.lkml
59 lines (48 loc) · 919 Bytes
/
contacts.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
52
53
54
55
56
57
58
59
view: contacts {
sql_table_name: PUBLIC.CONTACTS ;;
dimension: id {
primary_key: yes
type: number
sql: ${TABLE}.ID ;;
}
dimension: cellphone {
type: string
sql: ${TABLE}.CELLPHONE ;;
}
dimension: city {
type: string
sql: ${TABLE}.CITY ;;
}
dimension: company {
type: string
sql: ${TABLE}.COMPANY ;;
}
dimension: email {
type: string
sql: ${TABLE}.EMAIL ;;
}
dimension: first_name {
type: string
sql: ${TABLE}.FIRST_NAME ;;
}
dimension: last_name {
type: string
sql: ${TABLE}.LAST_NAME ;;
}
dimension: postalcode {
type: number
sql: ${TABLE}.POSTALCODE ;;
}
dimension: streetaddress {
type: string
sql: ${TABLE}.STREETADDRESS ;;
}
dimension: workphone {
type: string
sql: ${TABLE}.WORKPHONE ;;
}
measure: count {
type: count
drill_fields: [id, last_name, first_name]
}
}