Skip to main content
Question

Hi all in Analysis I can create a Variable using a PQL statement (A static value). How do i do this in Views?

  • August 28, 2024
  • 4 replies
  • 42 views

lize.erasm11
Level 5
Forum|alt.badge.img+6
Hi all in Analysis I can create a Variable using a PQL statement (A static value). How do i do this in Views?

4 replies

lize.erasm11
Level 5
Forum|alt.badge.img+6
  • Author
  • Level 5
  • August 28, 2024

image.png


mateusz.dudek14
Level 11
Forum|alt.badge.img+11

Hi,

 

The only way is to creating so called "placeholders", unfortunately it's the only way I know to do something similar - standard variables do not allow to use PQL :| .

 

Example for dynamic name:

 

imageimage 

Best Regards,

Mateusz Dudek


lize.erasm11
Level 5
Forum|alt.badge.img+6
  • Author
  • Level 5
  • August 29, 2024

Mmm that is unfortunate, because I need to use this in a graph metrics name and the placeholders are not available there. I wonder why Celonis removed this functionality?


janpeter.van.d
Level 12
Forum|alt.badge.img+26

Hi @lize.erasm11,

 

In the legacy views, you can use Javascript to use Variables (and KPIs and thus PQL) values in your components: https://docs.celonis.com/en/legacy-view-variables.html#UUID-3cc2c19d-0a6e-a577-96bd-27e772d7cbc3_id_ViewsVariables-UsingIf-ElseStatementsinfluencedbyVariablesegwhichviewtoshowinembeddedview

 

As far as I know, this is not (yet) implemented in the enhanced views. Since it is quite an advanced use case, it might be implemented in a later stage, but I have no idea about that.