Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass filter values to nested questions #12744

Closed
arruzk opened this issue Jun 19, 2020 · 1 comment
Closed

Pass filter values to nested questions #12744

arruzk opened this issue Jun 19, 2020 · 1 comment
Labels
.Needs Triage Type:Question Please use the forum: https://discourse.metabase.com/

Comments

@arruzk
Copy link

arruzk commented Jun 19, 2020

Metabase 0.35.0 introduced a nice feature "Using an existing question as a sub-query" https://www.metabase.com/docs/v0.35.3/users-guide/13-sql-parameters.html#using-an-existing-question-as-a-sub-query
I don't understand how can I pass filter values to the sub-query (sub-question).
If some of the parameters in a sub-question doesn't have default values I get an error The sub-query from referenced question #848 failed with the following error: Error building query parameter map.
It would be really nice to be able not to copy-paste filter logic from question to question (especially it's important if you have grouping in a sub-question and it's not possible to filter on the same set of fields).
Thank you!

@arruzk arruzk added .Needs Triage Type:Question Please use the forum: https://discourse.metabase.com/ labels Jun 19, 2020
@flamber
Copy link
Contributor

flamber commented Jun 19, 2020

Hi @arruzk
This is similar to Saved Questions, which doesn't expose the nested filters either.
#6449 - upvote by clicking 👍 on the first post
Please use the forum for questions and troubleshooting: https://discourse.metabase.com/

@flamber flamber closed this as completed Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Needs Triage Type:Question Please use the forum: https://discourse.metabase.com/
Projects
None yet
Development

No branches or pull requests

2 participants