Commas work just fine, I believe its the way you set your "function" in the variable, as I understand your passing the types on your second argument to the set analysis.
As an example i used:
Load * Inline
All this expression return values:
Expression named "testValue"
I believe you need to encapsulate your second argument in apostrophes (string like) for it to work the way you need.
Thank you for your answer.
That is not quite my issue, I understand that the comma is used to separate the fields that I want to use.
My problem is that one of the Field values I want to use as a parameter has a comma: Sales / Observe, Listen
In order to be able to use the variable correctly I need to find a way to have $(QuestionType(2, Sales / Observe, Listen)), in a way that the comma between Observe, Listen is assumed as part of the value and not a separator of the parameters.
Thank you !
well, I got a workaround working for commas,
First, I added the expression as a variable:
Second, I've inputed the testString2 as the string you need, but changed the comma for another character (in my case "|" separator).
Lastly, on the function definition, I used a string replace statment to change the separator, like:
In my screenshot, the last column of the table is the result, getting me the value for the string "Test 1, Test2" after these operations.
You'd have to hardcode the needed set analysis types you need, as I stated on my example