IFS() Is not working.

I have a column called Progress of percent type where the user can pick between 25%-100%.  I have another column called Work Order Status.  In the Work Order Status column, I have the following App Formula :

IFS(
DECIMAL([Progress])=.25,"Work Started",
DECIMAL([Progress])=.50,"Halfway Done",
DECIMAL([Progress])=.75,"Finishing Up",
DECIMAL([Progress])=1,"Completed")

I have to change it to Decimal because if I don't then the formula won't work.

When testing the formula it seems to work but it doesn't save the expression result for some reason.  Please look at the pics below.

Mauricio_Bick_0-1702787776220.png

Mauricio_Bick_2-1702787818876.png

Mauricio_Bick_3-1702787865617.png

@AleksiAlkio 

 

 

 

 

 

Solved Solved
0 7 288
2 ACCEPTED SOLUTIONS

Hey,

try this:

SWITCH([Progress], 0.25, "Work Started", 0.50, "Halfway Done", 0.75, "Finishing Up", 1.00, "Completed", "Unknown")

😉

View solution in original post

You need to use 0.25 instead of .25 and the same with other values.

View solution in original post

7 REPLIES 7

When you open the record with the form view, does it work properly without DECIMAL() before you click save?

@AleksiAlkio I tried what you suggested and it doesn't work. I tried it with a new record and editing one but still nothing.

How have you specified the % column and its values?

Like this

Mauricio_Bick_1-1702828159435.png

 

Hey,

try this:

SWITCH([Progress], 0.25, "Work Started", 0.50, "Halfway Done", 0.75, "Finishing Up", 1.00, "Completed", "Unknown")

😉

You need to use 0.25 instead of .25 and the same with other values.

The problem was that I wasn't including the leading zero.

Thank you @AleksiAlkio & @Denny774 

Top Labels in this Space