superset icon indicating copy to clipboard operation
superset copied to clipboard

Vizualizations allow only single value filtering via Cross filters

Open milenioz opened this issue 4 years ago • 10 comments

Expected results

When a viz is set to emit filters for Cross filtering further selection from it in a dashboard allow only single value selection while in v 1.2.0 it was possible to emit multi value filters

Screenshots

Current master branch image V1.2.0: image

How to reproduce the bug

  1. Go to 'USA Births Names'
  2. Edit table "Boys" in Explore chart. Enable "Emit filtering".
  3. Reload "USA Births Names"
  4. Click on any name in "Boys" table. (e.g Michael)
  5. Dashboard is filtered by the selected name
  6. Click on another name in 'boys" table. Dashboard is filtered by the second selected name (e.g. David)

In V1.2.0 from pip installation selecting the second name allows the Dashboard to be filterd by the multiple selected names, adding them as "name IN ('Michael', 'David')" in the where clause of other viz in the dashboard.

Environment

(please complete the following information):

  • superset version: master branch as of 24.08.2021
  • python version: v. 3.9.5
  • node.js version: v14.17.5
  • any feature flags active:

Superset is started via docker-compose up with : FEATURE_FLAGS = { "ALERT_REPORTS": True, "DASHBOARD_NATIVE_FILTERS": True, "DASHBOARD_CROSS_FILTERS": True, "DASHBOARD_NATIVE_FILTERS_SET": True, "DASHBOARD_FILTERS_EXPERIMENTAL": True, } in [/app/docker/pythonpath_dev/superset_config.py]

milenioz avatar Aug 25 '21 10:08 milenioz

@milenioz only allow single select was the the scope for last stage of the project. we are working on multiple select currently. would you like to participate?

junlincc avatar Aug 25 '21 18:08 junlincc

@junlincc it is my pleasure to contribute, but unfortunately I lack competence to do any coding that may help. Apologies.

milenioz avatar Aug 25 '21 19:08 milenioz

@milenioz no worries:) we will let you know once the feature is ready for testing. one thing that you could help i sharing your best x-filerting experience with any other bi tools so far. 🙏 how would you expect multiple select work on dashboard?

junlincc avatar Aug 26 '21 15:08 junlincc

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 18 '22 04:04 stale[bot]

Hello, this feature might be very interesting, +1 !

antonin-a avatar Oct 28 '22 09:10 antonin-a

Certainly not stale, but very important!

HVStechnik avatar Dec 05 '22 15:12 HVStechnik

Hi. Any work on this?

NiranjanBatas avatar Jun 19 '23 05:06 NiranjanBatas

Hello, will be a helpful feature +1

shaymongracia avatar Oct 18 '23 18:10 shaymongracia

Hi! Waiting for the feature :)

volhahedranovich avatar Mar 01 '24 15:03 volhahedranovich

Waiting for this feature.

arnabneogi86 avatar May 10 '24 08:05 arnabneogi86

Moving this to a discussion, since clearly there's interest, but it's not a bug. Yes, this "worked" for a minute when we were first building cross-filters, but there were MANY complications and edge cases in actually getting it to work in all chart types (both emitting and receiving these filters). This is not on any PMC member roadmaps that I'm aware of, but if anyone wants to contribute it (probably after a SIP, and behind a new feature flag until it's stable), then by all means, go for it!

rusackas avatar May 11 '24 16:05 rusackas