-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmaestroqa.appeal_answers.view.lkml
70 lines (58 loc) · 1.57 KB
/
maestroqa.appeal_answers.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
60
61
62
63
64
65
66
67
68
69
70
view: appeal_answers {
sql_table_name: maestro.appeal_answers ;;
dimension: appeal_id {
description: "ID of the appeal that contains this answer"
type: string
sql: ${TABLE}.appeal_id ;;
}
dimension: answer_type {
# values are constrained to 'original', 'updated'
description: "The type of this answer as it relates to the appeal"
type: string
sql: ${TABLE}.answer_type ;;
}
dimension: answer_id {
description: "ID of the answer this appeal is referencing"
type: string
sql: ${TABLE}.answer_id ;;
}
dimension: question_id {
description: "ID of the question this answer refers to
type: string
sql: ${TABLE}.question_id ;;
}
dimension: option_id {
description: "ID of the option for this answer"
type: string
sql: ${TABLE}.option_id ;;
}
dimension: label {
description: "The description of the option"
type: string
sql: ${TABLE}.label ;;
}
dimension: score {
description: "The numerical score that was entered for this question"
type: number
sql: ${TABLE}.score ;;
}
dimension: is_na {
description: "Whether or not this question was marked as N/A"
type: yesno
sql: ${TABLE}.is_na ;;
}
dimension: answer_comment {
description: "Comment regarding the answer to this question"
type: string
sql: ${TABLE}.answer_comment ;;
}
dimension_group: row_updated {
description: "UTC time this row was last updated"
type: time
timeframes: [time, date, week, month]
sql: ${TABLE}.row_updated_at ;;
}
measure: count {
type: count
}
}