I do see an answer explaining that grafana does a direct substitution for template variables (which I believe is a variable used in a sql editor?), and that’s the reason it errors out: Handle empty variables - #3 by vaishakefi
I am trying to follow the thread and try out some solutions. Meanwhile, I would appreciate it if you have any suggestions as well. Thank you!