Troubleshooting Panel Saving and Dashboard Variable Usage

TLDR Ted was unable to save a panel causing update issues; fixed via reinstall. They also sought assistance with dynamically filtering using Dashboard variables which Kirtan successfully guided.

Photo of Ted
Ted
Mon, 30 Oct 2023 08:38:44 UTC

Hi, I just create a panel with auto Query and config on picture. I can not save the panel. It's always ```Your chart is not up to date Chart configuration has been updated, but the chart was not updated automatically. Click on the "Apply" button to run the query again``` I tried "Apply" a lot of time but no luck. Anyone can help please? :smiling_face_with_tear:

Photo of Kirtan
Kirtan
Mon, 30 Oct 2023 09:06:00 UTC

Hi, can you open the console and let me know if any errors in the console?

Photo of Ted
Ted
Mon, 30 Oct 2023 09:15:53 UTC

Thank you for your reply. I just remove all things and re-install. It's working now. :joy:

Photo of Kirtan
Kirtan
Mon, 30 Oct 2023 09:18:46 UTC

Oh great to hear that :+1:

Photo of Ted
Ted
Mon, 30 Oct 2023 09:36:24 UTC

Hi Kirtan , can I ask a question? I want to dynamic filter with Dashboard variable. How can I do it?

Photo of Kirtan
Kirtan
Mon, 30 Oct 2023 09:38:46 UTC

You can write the value as `$namespace` or `"$namespace"` and observe the query. if it looks good, then it will replace the value when you hit apply

Photo of Kirtan
Kirtan
Mon, 30 Oct 2023 09:38:54 UTC

Let me know if you face any issues

Photo of Ted
Ted
Mon, 30 Oct 2023 09:41:19 UTC

yes, thank you. I tried like this. Is this correct?

Photo of Kirtan
Kirtan
Mon, 30 Oct 2023 09:45:20 UTC

Looks correct, maybe you need to add quotes across $namespace like this: `'$namespace'` in the filter value

Photo of Ted
Ted
Mon, 30 Oct 2023 09:46:12 UTC

awesome! thanks so much