-
Notifications
You must be signed in to change notification settings - Fork 6
/
maestroqa.section_scores.view.lkml
54 lines (46 loc) · 1.3 KB
/
maestroqa.section_scores.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
view: section_scores {
sql_table_name: maestro.section_scores ;;
dimension: answer_id {
description: "Identifier of the answer this section-scores belongs to"
type: string
# hidden: yes
sql: ${TABLE}.answer_id ;;
}
dimension: gradable_id {
description: "String cast ticket/case id this answer relates to"
type: string
sql: ${TABLE}.gradable_id ;;
}
dimension: normalized_score {
description: "Normalization of this section's score"
type: number
sql: ${TABLE}.normalized_score ;;
}
dimension: section_id {
description: "Identifier of the section this score refers to"
type: string
# hidden: yes
sql: ${TABLE}.section_id ;;
}
dimension: section_score {
description: "Raw score of this section"
type: number
sql: ${TABLE}.section_score ;;
}
dimension: template_id {
description: "Identifier of the rubric template this section belongs to"
type: string
# hidden: yes
sql: ${TABLE}.template_id ;;
}
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
drill_fields: [templates.name, templates.template_id, sections.section_id, answers.answer_id]
}
}