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

Allow database filter to drive multiple field variables #5082

malkomalko opened this issue May 11, 2017 · 1 comment


Copy link

commented May 11, 2017

I looked for this issue but could not find it. I love the field variables you can use for sql queries and think it's wonderful that you can hook them up to dashboard filters... but I've hit a wall.

I have a query that uses a sub query and requires two different variables to drive filtering by a date range. Table A has a column called timeA and table B has a column called timeB for example.

If I use that question in a dashboard with a date filter, I can only select one of the variables from the question. It would be great if I could select multiple OR have some type of variable syntax to change the field name. {{timeA:timeB}} where it would take the timeA field variable and change the field name used in the variable to timeB. Then it wouldn't matter about selecting multiple for dashboard filters and you could just assign to timeA.

Does this make sense?


This comment has been minimized.

Copy link

commented May 11, 2017

In fact, the second option would be ideal because the questions themselves would work with just one variable field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.