Open
Description
Bug description
Description
Dashboard charts that are powered by Jinja are able to display their data correctly. However, when users try to perform the drill-by action, the result is incorrect.
How to reproduce the bug
- By following this guide, create a Jinja-powered dataset with
country
,status
, andproduct_line
columns. - Create a stacked Bar Chart and add it to a dashboard.
- Add a filter for the Product Line from the
Vehicle Sales
dataset. - Ensure that the dashboard shows correct data.
- On the stacked Bar Chart, perform a drill to detail by all action.
Expected results
Drill-by results are correct.
Actual results
Drill-by results are incorrect.
Known Workarounds
No workarounds are currently known.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
- I have searched Superset docs and Slack and didn't find a solution to my problem.
- I have searched the GitHub issue tracker and didn't find a similar bug report.
- I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.