Expression in program indicators

Hello community,

could someone show me how to create if() expression for program indicators ???

Hello @mugisha_alain
You can use the below expression:
d2:condition(‘A2>89’,‘A’,d2:condition(‘A2>79’,‘B’,d2:condition(‘A2>69’,‘C’,d2:condition('A2>59,‘D’,‘F’))))

Bests