I actually found a solution for a similar question here.
Proposed was the following formula:
FILTER "xx"."yy" =
CASE WHEN <%=option1%> = 'a' THEN 'value'
WHEN <%=option1%> = 'b' THEN 'value2'
END
;
However, as a whole list of purchasing groups needs to be excluded instead of '=' or '!=' we would need to work with NOT IN / NOT LIKE... Meaning something like:
FILTER "xx"."yy" NOT IN
CASE WHEN <%=option1%> = 'a' THEN ('Value1', Value2', ...)
END
;
But somehow I don´t get the syntax, right? Can anyone help?
Thanks a lot :)