Hi @paul_wareham,
I do believe that this can be achieved there is a good forum post here with an example of nesting with an #if and #eq. Since the #else isn’t shown, there is also a small example in the top paragraph of the if/else as well as a subexpression that you may find useful.
Thanks!
Julia