GitHub user dosubot[bot] added a comment to the discussion: Drill by functionality not keeping the selected value
<!-- Answer --> This issue often happens if the "Region" column isn't set up as a groupby-enabled column in your dataset, or if there's a mismatch in column naming between your chart and the dataset. The "Drill by" feature relies on constructing filters using the clicked value and passing them as adhoc filters in the chart's form data. If the region filter isn't being applied, double-check that: - The "Region" column is marked as groupable in your dataset. - The column name matches exactly between your dataset and the chart configuration. - You're using a supported chart type for "Drill by" (not all chart types support it). - If you recently upgraded Superset, try restarting the application, as sometimes feature flags or UI state can get stuck after an upgrade. In recent versions (4.1.1+), "Drill by" is enabled by default and doesn't require extra configurationĀ ([source](https://github.com/apache/superset/issues/31650)). If all of the above look correct, it's worth checking if the filter is being constructed and sent in the chart's form data when you drill. If not, there may be an issue with how the chart or dataset is configured to handle groupby and filters. Let me know if you need help checking any of these details. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f09ab0f0-a4d2-48d4-85d2-965c59671de9?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33718) GitHub link: https://github.com/apache/superset/discussions/33718#discussioncomment-13399410 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
