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

Dashboard parameter mapping: can't map different dropdown lists #4289

Open
susodapop opened this issue Oct 24, 2019 · 0 comments
Open

Dashboard parameter mapping: can't map different dropdown lists #4289

susodapop opened this issue Oct 24, 2019 · 0 comments

Comments

@susodapop
Copy link
Contributor

Issue Summary

I should be able to write a single dropdown list and map it to multiple queries on a dashboard. Similar to a query based dropdown list without the extra query.

Right now, queries with dropdown list parameters can be mapped together -- but values from one list are not inserted into other queries. The mapping appears to happen by list position instead of by value.

Is this a bug or a feature request? Please close it if I'm in the wrong place.

Steps to Reproduce

1. Write a query that uses a dropdown list parameter.

SELECT '{{ param }}';

Use the values Foo and Bar

2. Write a second query that uses a dropdown list parameter.

SELECT '{{ param }}';

Use the values Happy and Querying

3. Add both queries to a dashboard and map them to the same dashboard parameter

Observe that you cannot map the parameters so that both queries return the same string of Foo, Bar, Happy, or Querying.

You can make this work with a query based dropdown list. But that isn't as convenient if the values don't come from the database.

Technical details:

  • Redash Version: V8 and V9
  • Browser/OS: Firefox
  • How did you install Redash: SaaS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant