Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependent Filters aren’t working as expected. #24285

Closed
santosh-sahoo334 opened this issue Jun 5, 2023 · 6 comments
Closed

Dependent Filters aren’t working as expected. #24285

santosh-sahoo334 opened this issue Jun 5, 2023 · 6 comments
Labels
#bug Bug report

Comments

@santosh-sahoo334
Copy link

How to reproduce the bug

I have something like an “Advertiser” column, and an “Advertisement Date” column, the dependent features aren’t working as expected. I have a table like this --

2021-03-01 | Ford
2021-03-01 | Honda
2021-03-01 | Mazda
2021-06-01 | Ford
2021-06-01 | Chevy
2021-09-01 | Mazda
2022-03-01 | Ford
2022-03-01 | Tesla

If I set up “Advertisers” as a value filter, and make it a "dependent filter" based on a Time Range filter for the "Advertisement Date" column, the expectation would be:

  1. Select a date range of 2021-2022, and Tesla would NOT be in the Advertisers menu.
  2. Select a data range of 2021-06-01 to 2023, and Honda would NOT be in the menu, but Tesla would be.

Environment

(please complete the following information):

  • browser type and version: Google Chrome Version 113.0.5672.129 (Official Build) (64-bit)
  • superset version: 2.1.0
  • python version: 3.8.16
  • node.js version: v16.20.0
  • any feature flags active:
@santosh-sahoo334 santosh-sahoo334 added the #bug Bug report label Jun 5, 2023
@rusackas
Copy link
Member

I think this may have been resolved by #23319

@rusackas rusackas reopened this Jun 12, 2023
@rusackas
Copy link
Member

Oops, didn't mean to click the close button there. Please check and confirm that I can, though ;)

@santosh-sahoo334
Copy link
Author

Sure @rusackas Will do. Thanks!

@rusackas
Copy link
Member

Any update @santosh-sahoo334?

@santosh-sahoo334
Copy link
Author

Apologies for the delayed response @rusackas. Verified the functionality and its working fine now. Thanks for the follow up!

@santosh-sahoo334
Copy link
Author

Closing as it is resolved now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants