0

I am trying to create a calculated field where the output is "x% Over the Goal", however cannot due to string and float values. Essentially, what I want is the following:

IF Actuals > Goal THEN Actuals/Goal+'Over Goal'
ELSEIF  Actuals < Goal then Actuals/Goal+'Under Goal'
ELSE 'At Goal' END

Is something like this possible? I've tried creating two separate calculated fields and concatenating them, but that does not work either.

Any help would be greatly appreciated.

1 Answer 1

4

You Can achieve this in a single calculated field:

IF [Actuals] > [Goal] THEN STR(FLOAT([Actuals] / [Goal])) + "Over Goal"
ELSEIF [Actuals] < [Goal] THEN STR(FLOAT([Actuals] / [Goal])) + "Under Goal"  
ELSE "At Goal" END
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.