1. Decide what are the point limits for each grade. For example like this:
- maximum is 20 points
- 0-10 points = 0 (fail = hylätty)
- 10-11 points = 1
- 12-13 points = 2
- 14-15 ponts = 3
- 16-17 points = 4
- 18-20 points = 5
2. Create a new category

- Grades > Gradebook setup
- On the right side Add > Add Category
- Add Category name
- Change Grade type to Scale and choose the scale 0-5 ans Save

Move quiz/quizes to the new category
- Select Quizes
- Choose under the table Move and choose the new category and select Move

Next we define the function to that Quiz category.
- Choose Edit > Edit calculation from the category total line

First we must add the ID to the quiz
- write the ID name (can be letters or/and numbers). ID is visible only to teachers.
- Choose Add ID numbers

- Write to the Grade item Calculation field function like this, where the the points limits can be changed:
=1+ if([[quiz1]]>=10,1,0) + if([[quiz1]]>=12,1,0) + if([[quiz1]]>=14,1,0)+ if([[quiz1]]>=16,1,0)+ if([[quiz1]]>=18,1,0)

After these settings Gradebook transfers the Quiz points automatically to the scale 0-5 in the gradebook.
