Help, help :) What will be the app formula fo...

Help, help What will be the app formula for โ€˜Gradeโ€™ calculation?

If responded result is 4 then grade will b โ€˜Aโ€™, for 3to3.99, โ€˜Bโ€™, for 2to2.99,C, below these D!!

What will b the expression??

0 15 383
15 REPLIES 15

SWITCH(FLOOR([Grade]),4,โ€œAโ€,3,โ€œBโ€,2,โ€œCโ€,โ€œDโ€)

โ€œFLOOR has invalid inputโ€ showing? Why? What to do

 

 

still stuck!!

What shd do??

Grade column is not virtual!!

SWITCH(FLOOR([Total Score]),4,โ€œAโ€,3,โ€œBโ€,2,โ€œCโ€,โ€œDโ€)

Your Grade field is probably not a number field.

Sorryโ€ฆ decimal field.

So, i need to change the grade column type to decimal, then try itโ€ฆ Still not working, why?

@AEO_Natore_Sadar Why Grade column should be in decimal field? It Supposed to be text field since you will store A B C or D.

The source need to be a decimal because he is filling the value as desimal, not the column where this letter will be stored.

@Aleksi_Alkio Exactlyโ€ฆ Thanks Translate

But my score field is decimal, thats how i get 3.55 or something like that. But not working, guess i miss somethingโ€ฆ Pls tell me what to do?

@AEO_Natore_Sadar If Grade column is virual then all existing records will be calculated. If it is normal field the new records only get effect. Otherwise you have edit and save all existing records

Top Labels in this Space