forked from llooker/braze_message_engagement_block
-
Notifications
You must be signed in to change notification settings - Fork 0
/
users_behaviors_uninstall.view.lkml
53 lines (47 loc) · 1.08 KB
/
users_behaviors_uninstall.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
# Uninstall Events
view: users_behaviors_uninstall {
sql_table_name: PUBLIC.USERS_BEHAVIORS_UNINSTALL ;;
dimension: id {
primary_key: yes
description: "unique ID of this uninstall event"
hidden: yes
type: string
sql: ${TABLE}."ID" ;;
}
dimension: app_id {
description: "id for the app on which the user action occurred"
type: string
sql: ${TABLE}."APP_ID" ;;
}
dimension: external_user_id {
description: "External ID of the user"
type: string
sql: ${TABLE}."EXTERNAL_USER_ID" ;;
}
dimension_group: uninstall_time {
description: "timestamp of the uninstall"
label: "Time"
type: time
datatype: epoch
timeframes: [
raw,
time,
date,
week,
month,
quarter,
year
]
sql: ${TABLE}."TIME" ;;
}
dimension: user_id {
description: "braze user id of the user"
type: string
sql: ${TABLE}."USER_ID" ;;
}
measure: count_distinct_uninstall_event_id {
description: "unique count of uninstall event IDs"
type: count_distinct
sql: ${TABLE}."ID" ;;
}
}