Same dashboard - filter panel from other panel


I have a dashboard with two table panels, just displaying data from two tables in a db.

With I’d like to do is pretty simple: click on a link on the upper panel and get the lower panel to filter data (parentid=xyz).

I’ve managed to make it work by adding a data link to the same dashboard with the variable name (https://hostname/dashboardname&var-parentid=xyz).

But the problem is that when the user clicks the link, all their filters are gone --because, obvs, the dashboard is reloaded.

Is there any better way to do this?

Many thanks in advance.