Is it possible to auto-refresh parameterized queries, for all params?

Like the title suggests - I have a parameterized query that I’d like to refresh periodically. Currently only the default value gets refreshed.

Is there any official (or unofficial - if community found one) way to get all queries to refresh? The parameter is a dropdown, so it’s finite number of cases.

Depending on your version of Redash, not even the default value is refreshed :confused:

I don’t think there’s a specific recipe for this. But you can see this example which uses the redash_toolbelt library to refresh all the queries of a dashboard, including parameterised ones. You could just repurpose the main loop in refresh_dashboard to cycle through the defined parameter values.

1 Like