Take the average test score and apply the round(x, p)
function, setting the precision p
equal to 2.
round([Average: Test Score], 2)
The number of students divided by the number of teachers. Distinct counts must be used here if the data contains more than one row per student or teacher.
[Distinct Count: Student ID] / [Distinct Count: Teacher ID]
Use a variable to record the student-teacher ratio. Then set variables to mark the points at which the ratio is considered medium or high. Finally, use two if (cond, trueValue, falseValue)
blocks to return the "Low", "Medium" or "High" text based on the ratio value.
stRatio = [Distinct Count: Student ID] / [Distinct Count: Teacher ID]; mediumThreshold = 20; highThreshold = 40; if (stRatio < mediumThreshold, "Low", if (stRatio >= highThreshold, "High", "Medium" ) )