Global var not available when externally shared

Hello.
In one of my queries i use

(‘${__from:date:iso}’ <= time and ‘${__to:date:iso}’ >= time)
The problem is that when the dashboard is externally shared (in order to use it in an iframe) the global variable is not available and the query does not work. I have enabled “Enable time range” option when creating the “externally shared” url.
Any ideas ?
Thanks!

Hello @tasoss ,

Please refer to the following official document — it should be helpful for you.

1 Like

Hi @tasoss

Just checking in—did this solution resolve your issue, or are you still experiencing the same problem?

Thanks for replying. Using iframes it seems that it’s another story so i continue without using grafana.

Thanks again!