GitHub user dosubot[bot] added a comment to the discussion: Drill by 
functionality not keeping the selected value

<!-- Answer -->
There isn't a documented fix or workaround for the specific issue in #25334, 
but based on the code and recent updates, bar charts are designed to support 
"Drill by" and should pass the X-axis value as a filter when drilling. The most 
common cause for your symptoms is a metadata sync problem—if the backend 
dataset metadata doesn't match the actual table schema, the filter can't be 
applied correctly. Make sure to refresh your dataset metadata in Superset and 
confirm that "Region" is marked as groupable and filterable after the sync. 
This usually resolves issues where the X-axis value isn't passed as a filter 
during "Drill by" in bar charts. If you've already done this and the problem 
persists, it may be a deeper bug not yet addressed in the codebase, as the 
implementation appears robust and well-tested for generic cases. 

If you need step-by-step help with syncing metadata or checking dataset config, 
let me know.


<!-- 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/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/f8bc6045-17a1-44a5-8b36-9ba106ff9140?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](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-13402193

----
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]

Reply via email to