I have a saved question (a table) from joining two tables from my database. I have also created a dashboard using data from that saved question. I want the user to click the bar on my barchart and be redirected to the saved question with the appropriate filters. However I dont wish to grant the user access to the table.
So is there any way i can redirect to that saved question without giving table access to the user?
Any help would be appreciated.
Hi @PD98
I would recommend adding the question to another dashboard with the filters you want, and then set the Click Behavior to go to that dashboard.
I was actually looking for a drill-down kind of solution for this, where the appropriate filters automatically get passed on to the destination.
I tried your recommended method, but I am not able to see my column name for the second filter.
As depicted in the screenshot below, I can see the Status column to pass as filter for the first question.
@PD98 Post "Diagnostic Info" from Admin > Troubleshooting.
There are some known issues with the pass-thru, example this: https://github.com/metabase/metabase/issues/15170
So without knowing which columns types the question has and which filter types are available, then it's difficult to know why that is happening.
There's something wrong with your Java timezone. Either it's being incorrectly set to "" or there's some problem with the system timezone not correctly defined.
MySQL does not have a boolean data type. It is a TINYINT(1), which is then interpreted as a boolean. Seems like this actually might be a driver issue, but perhaps it is something that can be handled in the frontend.
I have created an issue for it: https://github.com/metabase/metabase/issues/18067 - upvote by clicking on the first post
Thanks for creating the issue. I was actually facing this issue in SQL Server (MSSQL). Can you please add sql server in the labels or mention it in the description of the issue created in github.
I ran into another issue while testing click behavior. As I mentioned earlier, I did not provide table access to the user, but included that question in a dashboard.
I have granted "View Collection" permission to the user group, but the click behavior is not working.
When I log-in as the user with limited privileges, and click on a particular panel in the dashboard, nothing happens, even after configuring click behavior.
@flamber yes I have configured click behavior of the panel to direct to a custom location and selected the appropriate dashboard, but it doesn't work when I am logging in as the user with limited privileges
@flamber Yes I created the click behavior with destination dashboard, and the user has view access to the entire collection in which both the source and destination dashboard reside.
Create a table visualization from a database.
Use this table visualization to create a few barcharts and add them to a dashboard.
Add the table visualization to another dashboard within the same collection with appropriate filters.
Create a click behavior for the dashboard containing the barcharts with destination dashboard set to the one containing the table question.
Create a group which has no access to the database and only "view collection" access to the collection containing the above mentioned dashboards.
Create a user and assign the above created group and login as that user and check if click behavior is working
@PD98 I cannot reproduce. If you can reproduce with Sample Dataset, then it'll be great and then you can create an issue with all the steps (including which questions and filters you are using, screenshots are helpful too) on Github: https://github.com/metabase/metabase/issues/new/choose
If you can only reproduce with a specific database or question types, then you'll need to describe that.
There is one thing I noticed while trying out click behavior.
When I configure the click behavior on a dashboard with no filter, it is able to redirect. But when I add a filter like a date filter it is not able to redirect.
I have kept the permissions same as mentioned in the previous message (user only has view collection permission and no permission on the database).