Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello to all,
I have a problem.
I have a field called SCENARIO and I would like to save the value of this in a variable, but according to the following condition:
I tried with an if but without success.
Thank you,
Livio
Where are you going to be using this? On the front end? May be this
MaxString(SCENARIO)
Front end, but in the field SCENARIO, I have other value, so i think that MaxString(SCENARIO) not working in my case.
Hi,
Try using =MaxString(SCENARIO)
Thanks,
Pooja
May be like this
If(SubStringCount(Concat(DISTINCT '|' & SCENARIO & '|'), '|FC 3|) = 1, 'FC 3',
If(SubStringCount(Concat(DISTINCT '|' & SCENARIO & '|'), '|FC 2|) = 1, 'FC 2',
If(SubStringCount(Concat(DISTINCT '|' & SCENARIO & '|'), '|FC 1|) = 1, 'FC 1')))
Not working again
My bad, I missed single quotes
If(SubStringCount(Concat(DISTINCT '|' & SCENARIO & '|'), '|FC 3|') = 1, 'FC 3',
If(SubStringCount(Concat(DISTINCT '|' & SCENARIO & '|'), '|FC 2|') = 1, 'FC 2',
If(SubStringCount(Concat(DISTINCT '|' & SCENARIO & '|'), '|FC 1|') = 1, 'FC 1')))
I know, I corrected it but not working too
Would you be able to share a sample or image of where you are using this?