-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Filter with multiple values doesn't return correct data #33221
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
Comments
Hello @personofnorank! I'm Dosu, a bot here to help you solve bugs, answer questions, and guide you on becoming a contributor. I'll assist you while you wait for a human maintainer to take a look at your issue. How can I assist you today? The issue you're experiencing with the filter not returning the correct data when multiple values are selected might be related to how Superset handles multiple value filters. Superset uses the Here are a few things to consider:
If these suggestions don't resolve the issue, it might be helpful to test with a simplified dataset to isolate the problem or consult any recent changes in the Superset codebase that might affect filter functionality. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Is it possible to give us repro steps using a built-in example dashboard? That would make it far easier to troubleshoot. |
@rusackas I'll try. The issue doesn't always happen - only saw it today - so I assume there is some unusual scenario to do with the data or the underlying query. |
Bug description
Bug: I have a dashboard consisting of a table with a filter on one of the columns. The filter allows multiple values. A particular row appears in the chart when I only add one value to the filter, but if I add two values the row disappears from the chart although one of them is the right value for the row.
Expected behavior: a filter that allows multiple values would return all rows that match one or more of the values selected.
To reproduce: this may depend on your data as I haven't observed this behavior consistently and I'm not clear what types of data would trigger the issue.
I can't share a screenshot as my data is customer-sensitive. I gather from kapa.ai that this is a known issue but I wasn't able to find a specific issue on Github - apologies if I missed one.
My company is using Superset 3.1.3 but kapa.ai tells me this may occur with newer versions too. If that's wrong and this is known to be fixed in later versions, please let me know as it will help make a case for upgrading.
Screenshots/recordings
No response
Superset version
3.1.3
Python version
3.9
Node version
16
Browser
Firefox
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: