Category Variable Calculation

Re: Category Variable Calculation

ni Q Peiffer -
Number of replies: 0
Hi there!  What version of Moodle are you using?

In this case, you should look for a more elegant solution than using a grade calculation. I'd recommend enabling "grade to pass" on each of the Quizzes, which marks a grade with either a checkmark or an X symbol based on the grade scored and whether it's above or below the "grade to pass" set on the Quiz. This bypasses you having to do a calculation, and you can set "grade to pass" as a value in the Quiz settings when making them.

Here's an image of what this looks like in our theme:
An image of the User Report for a user with three Quiz grades.  Two Quiz grades are passed with a check and one is failed.

You can also then view this for users in the Grader Report, as well:


This seems to be a much cleaner way to do what you're looking to do.