Sometimes, you need to create a very complex formula for indicator. It’s very hard to understand and maintain.
For example, client wants to show schedule indicator green when duration variance within 10% of baseline duration, 11%~20% for yellow and above 20% shows red.
Sample formula:
SWITCH([Finish Variance]=0,"On Target",[Finish Variance]<0,CSTR(CINT([Finish Variance]*(-100)/[Baseline Duration]))+"% Ahead Of Schedule", true,CSTR(CINT([Finish Variance]*100/[Baseline Duration]))+"% Over Schedule")
Then when you set graphic indicator, use "Is Less Than" or "Is Greater Than". You can set as
Is Less Than 11 Green
Is Less Than 21 Yellow
Any Value Red
Project Professional is smarter enough to compare the percent as number. You can event put percent in the middle of the data, such as "Task 10% Behind Schedule".