cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using the dashboard variable in a code block

jmarbaix
Participant

I would like to use a dashboard variable in a code block, but I can't seem find any documentation on how to do this. Is there even a way to do this?

 

2 REPLIES 2

jmarbaix
Participant

Found the solution, you just have to use the $-notation.

GerardJ
Mentor

Hello
Yes it is possible the same way you use it in DQL. The exact syntax could depend on the type of variable and where it is used in the code. Here's a simple example taken from the Dynatrace Tenant Review dashboard:

GerardJ_0-1750072842786.png

 



Gerard

Featured Posts