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

Multi-select (OR) dashboard filtering #3693

Closed
vikrim1 opened this issue Apr 27, 2015 · 71 comments
Closed

Multi-select (OR) dashboard filtering #3693

vikrim1 opened this issue Apr 27, 2015 · 71 comments
Assignees
Labels
Feature:Filters Feature:Search Querying infrastructure in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort release_note:enhancement Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)

Comments

@vikrim1
Copy link

vikrim1 commented Apr 27, 2015

Hi, I'd like to allow business users of our dashboard to select multiple values from a graph/table to filter the dashboard by. Unlike the current behavior, the filters would have an OR relationship instead of AND. For example if I have two rows in a table, one with ID=1 and one with ID=2, I'd like to be able to check both of those and have the dashboard filter for ID=1 OR ID=2.

@abhijitdeka11
Copy link

Eagerly looking out for this feature. In our use case we would like to have multiple products selected in the query.Like Product= "P1" OR Product = "P2".Currently it's not straightforward.If possible can you please attach some milestone also for this enhancement.

@Miksunen
Copy link

This is definitely a must-have-feature.

@Miksunen
Copy link

Let's take a very common situation: A dashboard, which contains a visualization that shows a country of origin.

For our business users it should be really easy to select a subset of countries from that one visualization (for example all Nordic countries) ... and immediately see other visualizations show statistics about that subset.

Now the only way is to add all countries in the search query with OR between them. That's not intuitive.

Sure, I understand that OR also requires a possibility to add parenthesis between filters... But I trust you could soon come up with a neat UI solution for that.

@chenryn
Copy link
Contributor

chenryn commented Oct 1, 2015

+1.

@andreyplotkin
Copy link

+1

@jnbala
Copy link

jnbala commented Oct 29, 2015

+1

3 similar comments
@kevin1obrien
Copy link

+1

@acommendador
Copy link

+1

@cjstone
Copy link

cjstone commented Jan 19, 2016

+1

@harsjain
Copy link

This is must to have requirement. Can someone please tell, when can we expect this feature?

@ErwanPigneul
Copy link

+1

@chlaudon
Copy link

chlaudon commented Feb 1, 2016

Although having this feature implemented in dashboards is key, it might be good to generalize it to other views (Discover, Visualize).

  • For Dashboards, we could imagine using Shift-Click to select a value that needs to take part in the OR filter and once all values have been selected, run the the filter by clicking 'Apply'.
  • For the Discover view, we probably need a third option besides +/- in the field value lists that would provide the same functionality while also showing that a value is part of an OR filter (some sort of radio button). In contrast to positive/negative filters, OR filters in the Discover view should not cause the removal of values that aren't part of the OR filter or else it would be impossible to add other values after the fact (they would not show). This may mean heavy work.

In both cases the values included in the OR filter would need to be displayed in the filter bar with a new color (green=positive, red=negative, yellow/orange=OR?) and grouped to make it easier to deactivate, negate or set the main operator:

  • AND( x OR y) for filtering
  • OR (x OR y) for promoting

@jccq
Copy link

jccq commented Feb 14, 2016

Ping about this feature (how about a P2? :)) )

How about this

  1. one presses a spacial key (shift?) and Kibana filter bar shows up in "OR MODE COMPOSABLE FILTER" . For touch UI this could be a long keypress on a slice having the same effect.

  2. at this point (e.h. while the key is pressed) each click will NOT generate a refresh but rather add a filter to the OR MODE COMPOSABLE FILTER space" , e.g. nationality = IT or Fr or US etc..

  3. Upon releasing of the key (or pressing apply in the OR MODE COMPOSABLE FILTER SPACE for touch interfaces ) the OR bar disappears leaving instead a "compiled" :) or filter which acts like any other

would this make sense?

@spalger spalger added the P2 label Feb 15, 2016
@eamonngryan
Copy link

+1

2 similar comments
@IngaFeick
Copy link

+1

@pemontto
Copy link

👍

@haizaar
Copy link
Contributor

haizaar commented Mar 20, 2016

Yet another +1!

@ktarasz
Copy link

ktarasz commented Mar 31, 2016

+1

@svenmueller
Copy link

worth adding one more +1

@morberg
Copy link

morberg commented Apr 28, 2016

+1

2 similar comments
@martinsbalodis
Copy link

+1

@michimau
Copy link

michimau commented May 2, 2016

+1

@mitch99
Copy link

mitch99 commented May 2, 2016

+1
Agree with Miksunen above, search field queries are too complex for end users. This feature would really make a difference in usability and put Kibana as a realistic alternative to for example basic Excel & Tableau dashboards.

@eltondsouza
Copy link

+1

@Sandy381
Copy link

Sandy381 commented Aug 3, 2021

+1

@Sandy381
Copy link

Sandy381 commented Aug 4, 2021

Atleast if they tell how to pass multiple values in an URL it will be useful.

@ppisljar ppisljar added the Feature:Search Querying infrastructure in Kibana label Nov 22, 2021
@exalate-issue-sync exalate-issue-sync bot added loe:x-large Extra Large Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed loe:small Small Level of Effort impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Nov 22, 2021
@fglendrange
Copy link

+1

@exalate-issue-sync exalate-issue-sync bot reopened this Mar 30, 2022
@exalate-issue-sync exalate-issue-sync bot added loe:medium Medium Level of Effort and removed loe:x-large Extra Large Level of Effort labels Sep 23, 2022
@ppisljar
Copy link
Member

this is being worked on and tracked here: #127247

@lukasolson lukasolson reopened this Oct 10, 2022
@petrklapka petrklapka added Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) and removed Team:AppServicesSv labels Nov 21, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@stratoula
Copy link
Contributor

stratoula commented May 8, 2023

Currently you can create OR filters for XY charts, we plan to offer more advanced filtering capabilities to other charts and we are tracking this here #150304
I am closing this as we track this request on the aforementioned issue

You can now create OR filters on the dashboard level from the filter builder

@jughosta
Copy link
Contributor

jughosta commented May 8, 2023

As @ppisljar mentioned, the filters UI was also extended to provide more options

Screenshot 2023-05-08 at 11 51 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Filters Feature:Search Querying infrastructure in Kibana impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:medium Medium Level of Effort release_note:enhancement Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph)
Projects
None yet
Development

No branches or pull requests