You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "praveer-rc (via GitHub)" <gi...@apache.org> on 2025/06/09 14:28:27 UTC
[I] Date filter - only 1 date filter can be used at a time [superset]
praveer-rc opened a new issue, #33725:
URL: https://github.com/apache/superset/issues/33725
### Bug description
When we try to create a date period filter, only the default temporal column is getting filtered. We are not able to create date period filters on any other columns of our choice.
### 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Date filter - only 1 date filter can be used at a time [superset]
Posted by "Vitor-Avila (via GitHub)" <gi...@apache.org>.
Vitor-Avila commented on issue #33725:
URL: https://github.com/apache/superset/issues/33725#issuecomment-2956599968
When you create a chart, you'll see a temporal column added to the filters section (by default, it would say **No filter**). That's just a placeholder indicating the column that would get the dashboard filter applied to. That said, you can click on this and change the column to something else, but you can't have multiple distinct temporal filters
<img width="357" alt="Image" src="https://github.com/user-attachments/assets/606c6c0c-d105-44b7-82a9-1cafef0904ac" />
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Date filter - only 1 date filter can be used at a time [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #33725:
URL: https://github.com/apache/superset/issues/33725#issuecomment-2955976762
<!-- Answer -->
I couldn't find any existing tickets or discussions that match this issue. Based on the latest code, Superset's dashboard native filter system is designed to let you pick which temporal column a date filter applies to, and the FiltersConfigForm uses a column selector for this purpose. The code also includes logic to reset the column when the dataset changes, which could affect filter behavior if not set up as expected. Recent changelogs show ongoing improvements and support for multiple temporal filters, so the ability to filter on non-default temporal columns should be present and stable in recent versions ([source](https://github.com/apache/superset/blob/08655a7559718e10049fa16f83f40146402405fa/superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx), [source](https://github.com/apache/superset/blob/08655a7559718e10049fa16f83f40146402405fa/CHANGELOG/2.1.0.md)).
If you're unable to select other date columns, double-check that your dataset has multiple temporal columns marked as such and that you're configuring the filter at the dashboard level (not just in Explore). If the UI doesn't let you pick another column, there may be a regression or a UI state issue—try reloading the dashboard or clearing the filter config and re-adding it. If the problem persists, it could be a new bug in the latest-dev branch.
<!-- 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/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/57b0ef43-189a-42a6-8ce9-4b06ddaf4334?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [!
[Share 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/issues/33725)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Date filter - only 1 date filter can be used at a time [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33725:
URL: https://github.com/apache/superset/issues/33725#issuecomment-2956564523
I thought the temporal filter applies to _all_ temporal columns, not just the default. We've also had requests to be able to add multiple time range filters, (e.g. one for `shipped_on` and one for `received_on`) but this has not yet been implemented. Someone like @sadpandajoe or @Vitor-Avila might be able to correct me on either count :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org