How to Save Filter Settings for Individual Users in Retool Dashboards?

Hi everyone,

We’ve been facing a challenge with our Retool dashboards and could use some advice. When users set filters on a dashboard, the results appear immediately, which works well. However, the next time a user logs in, they have to reapply their filters to get the same view they had before.

Is there a way to save these filter settings uniquely for each user, so that when they log back in, their previous filter selections are automatically applied? Alternatively, is it possible to have the URL reflect the filter choices in a way that’s unique to each user, allowing them to bookmark or return to their customized view easily?

Any insights or suggestions on how to implement this would be greatly appreciated!

Thanks in advance for your help.

Hi @s360_thomas,

You could save the values of your select components in a local storage variable, to save data locally to the browser.

You can do it either via javascript, or use the change event handlers in your select components.

Arter these are saved, you can set your component's default value to match the value on local storage or null if undefined.

Let me know if you need more help to set this up