Still unable to solve this problem. If anyone has any suggestions it would be greatly appreciated.
The text in your text field should not be enclosed in any quotes of any kind.
I've had problems as well and it seems to be the "set notation" that's the culprit. In my case, I ended up using an "in line" calculation to insert the needed data into the set between parenthesis--not an option here,but what worked for me.
You might, as a test, see if a simpler expression in the text field that does not use "in" works correctly. If it does, we have a bug to report in Report an Issue.