Thank you for reaching out to us.
Have you checked our documentation https://docs.celonis.com/en/views-variables.html, to achieve dynamic views, if/else statements can be used to display content dynamically based on a selected variable value. The general structure has a condition statement, and an outcome if the condition is met as well as an alternative outcome if the condition is not met.
Should you need further assistance, please let us know.
Thank you.
Best regards,
Valmira Abdiu
Hello @valmira.abdiu ,
Yes I have checked the documentation but that was for local view variable. Can you suggest the syntax for runtime variable
Along with this I have one more doubt -
Suppose I have a view variable named "dimension_benchmark" which is updated with a value 'creation_date'.
Now, I need to put a filter VBAP.${dimension_benchmark} = '2015', where VBAP is a table, but on the condition that if dimension_benchmark value is creation date, then it should be replaced with ERDAT.
I have tried writing the same filter in following way -
VBAK.${(dimension_benchmark == 'creation_date'?ERDAT)} = '2015'. But it was not helpful and was showing some syntax error.
Any suggestion is much appreciated
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.