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
Dashboards with mixed datasources: Dashboard filter is populated with values from only one datasource #7741
Comments
the expectation of the current version of the dashboard parameter mapping to a table column is that the same(ish) underying column is used by all the charts. |
And that doesn't translate across databases/data sources? I mean, it's the same(ish) column, just different database... |
So I'm pretty sure what we do under the hood is grab the mapped column of the first card in the dashboard and use that to power the list of valid values. Will we do something more sophisticated in the future? Almost certainly, but that's how it works now. |
Nawww, okay. It would appear that's what happens. It's pretty much always the values from just one of the cards. |
This looks like a duplicate of #7168 - go and upvote by clicking 👍 |
Fixed in 0.35.0 |
Repeat
For example, D1 and D2 each have a table Locations with a field City.
D1 has Australian locations and D2 has New Zealand locations.
I create a Question on D1 which is a raw listing of entries in Location, and the same for D2.
I place both Questions on a Dashboard, add a filter wired to City on both.
On periodic reloads, the City Filter will show only cities in Australia or only cities in New Zealand.
Looking in the console of Chrome, I can see that on loading the dashboard, the filter values for City are fetched only for the City field of the second Card. And these are what's shown in the Filter drop-down.
If I remove the second card, the filter values come from the first card.
Other dashboard-with-multi-datasource issue: #7633
The text was updated successfully, but these errors were encountered: