03-03-2017 04:30 PM
Can anyone tell me what the maximum supported number of nested if statements is?
I'm using the parameter trick to allow users to select which variable to group by, it would be useful to know how many options I can give them, I have six currently and the calculated item formula is getting long, I want to ensure I dont stretch it too far
03-06-2017 09:35 AM
I wrote the documentation for this part of the product and am not aware of any nesting limit. If there is a limit, I'll want to know about it so I can add it to the doc.
03-07-2017 12:50 PM
please consider using if then else with a blank as an 'not true' answer.
now you can catenate the all the ifthenelse answers and trim them to one answer.
no nested loops, a beter overview and an endles solution.
03-07-2017 06:19 PM - edited 03-07-2017 06:22 PM
That's a really interesting approach,
I wouldn't have attempted it this way as I would have assumed that adding 0 would have resulted in issues, it makes the formula much more readable,
I'll definitely test out switching to this syntax
03-08-2017 01:26 AM
Good to hear you have an alternative now.
Small advice, relate the buttonbar to a seperate table that only consists of the selectable options.
This way you are sure that you always have all of the options. Using a group field might give a problem here.
Anyway, maybe its good to mark your request as solved.
Greetings and good luck, Peter
Need further help from the community? Please ask a new question.