How to use if else on GPA Student Screens

abin
Hobbyist

How to use if else on GPA Student Screens

I use the following formula to display our seniors 9,10,11 GPA in the Cumulative info screen. 

 

~(*gpa method="weighted" type="cumulative" term="F1" grade=”9,10,11")

 

Some of our seniors joined our school in Grade 12 so for this case I need to display different formula. 

 

How can I achieve that? 

1 Solution
abin
Hobbyist

I get the solution . following code work for me 

 

~(decode;~(*credit_hours;9,10,11);0.00;~(*gpa method="weighted" term="Q1" grade="12");~(f.div;

~(f.add;~(*gpa method="weighted" type="cumulative" term="F1" grade=”9,10,11")
;~(*gpa method="weighted" term="Q1," grade="12"));2))

View solution in original post

1 Reply
abin
Hobbyist

I get the solution . following code work for me 

 

~(decode;~(*credit_hours;9,10,11);0.00;~(*gpa method="weighted" term="Q1" grade="12");~(f.div;

~(f.add;~(*gpa method="weighted" type="cumulative" term="F1" grade=”9,10,11")
;~(*gpa method="weighted" term="Q1," grade="12"));2))

View solution in original post