I have 4 dashboards in one collection and all of these dashboards have one filter each. Is it possible to carry forward filter from one dashboard to another, in other words is it possible to have common filter at collection level which will then be used for all dashboards?
Hi @NaveenHadagali
Currently not (as of 0.33.2), as something out-of-the-box. But if you’re using a simple filter (not Field Filter), then you can make a SQL query, which appends the filter and returns rows with links to the other dashboards, and the insert that question as a table on each dashboard.
I remember seeing a request for something like this, but I cannot find it.
Try doing a search on otherwise create a new feature request on https://github.com/metabase/metabase/issues
@NaveenHadagali
Then you create a new question, which you'll then add to the dashboard and connect to the filter, and it'll show a table with links.
I don't know which database you're using, so you might have to adjust a bit for fit your setup:
SELECT CONCAT('https://metabase.example.com/dashboard/1?filter_name=', {{filter}}) AS link
UNION ALL
SELECT CONCAT('https://metabase.example.com/dashboard/2?filter_name=', {{filter}}) AS link
UNION ALL
SELECT CONCAT('https://metabase.example.com/dashboard/3?filter_name=', {{filter}}) AS link
Then it can look like this (see the filter and the "Reference dashboard table"):
It works like a charm , however it shows the link of dashboard, is it possible to mask the link with name of dashboard and clicking on it takes to that dashboard.
@NaveenHadagali
Great, but no, it doesn’t know which dashboard you’re showing the question on. A way to get around that would be to create a question for each dashboard, that doesn’t include a link to the dashboard it’s going to be on.
@NaveenHadagali
Just use a the list with links to all the dashboards - it’s easier to maintain.
Otherwise you need to create multiple questions, where each question has all the links minus one.
I prefer this approach , only concern is it will be showing as full URL for that dashboard. Just wondering if we can say link 1=dashboard1 link 2 =dashboiad 2 etc.