Skip to content

Drill to Detail by Axis value does not work if the Axis column has a label #33907

@msyavuz

Description

@msyavuz

Bug description

It's possible to Drill to Detail an Echarts chart by an Axis value. This is currently not working properly in case the Axis column has a label defined at the dataset level.

  1. Edit your dataset, to add a label to a column.
  2. Create Bar Chart, using the column from step 1 as the X-Axis.
  3. Add a metric and a dimension, and save this chart to a dashboard.
  4. Access the dashboard.
  5. Right-click any bar, and use the Drill to Detail by $AXIS_VALUE option.

Expected results

The D2D table should list only results that match that axis value.

Actual results

The D2D table shows all values.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.11

Node version

18 or greater

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.

Metadata

Metadata

Assignees

Labels

dashboard:drill-to-detailgood first issueGood first issues for new contributorspreset:bountyIssues that have been selected by Preset and have a bounty attached.preset:bounty:bugBugs that have been selected by Preset and have a bounty attached.viz:charts:echartsRelated to Echarts

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions