Hi all,
my Question is: is it possible to use a CASE WHEN Statement where the condition is a comparison between a variable and a string?
Like:
CASE WHEN <%=variable%> = 'value' THEN ...
I work in Celonis Studio with PQL and created a variable in the Variables Section. What I want to do is filter a chart component depending on what timespan (hour, day...) I selected in a button drop down. Here is a code snippet:
CASE WHEN <%=timespan_picker%> = 'HOUR' THEN
ROUND_<%=timespan_picker%>(PU_FIRST (DOMAIN_TABLE...
When I try it like this I get an Error which says: Table not found
Thanks for your help
N.