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

Filtering on lens in a dashboard has two duplicate filters #66595

Closed
stacey-gammon opened this issue May 14, 2020 · 8 comments · Fixed by #99400
Closed

Filtering on lens in a dashboard has two duplicate filters #66595

stacey-gammon opened this issue May 14, 2020 · 8 comments · Fixed by #99400
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Filters impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort

Comments

@stacey-gammon
Copy link
Contributor

Tried this in 7.7, not sure if it's on master:

filterlens

Quick search didn't show any existing issues for this.

@stacey-gammon stacey-gammon added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels May 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor

This isn't a bug. If you configure the same query in Visualize, you'll get the same filters:

Screenshot 2020-05-14 12 56 04

@wylieconlon wylieconlon removed the bug Fixes for quality problems that affect the customer experience label May 14, 2020
@flash1293
Copy link
Contributor

Looks like the filters to apply should be deduplicated at some point. @ppisljar do you think this belongs in data?

@mbondyra
Copy link
Contributor

mbondyra commented May 19, 2020

What's important here to reproduce it, is that we do both buckets for carrier for X-Axis and split series for carrier. Here's the example setup in Lens:

and in Visualize:

@flash1293
Copy link
Contributor

As this is not a Lens specific problem but needs to be handled by the filter management logic, I will move this issue over to app arch.

@flash1293 flash1293 added Team:AppArch and removed Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@ppisljar
Copy link
Member

ppisljar commented Aug 6, 2020

cc @lizozom

@lukeelmers lukeelmers added Feature:Filters bug Fixes for quality problems that affect the customer experience triage_needed labels Aug 7, 2020
@lizozom lizozom self-assigned this Oct 4, 2020
@nickofthyme
Copy link
Contributor

Yeah I'm running into the same issue in vislib. Would be nice for the filters to be de-duplicated in the filter management.

@lizozom lizozom closed this as completed Feb 1, 2021
@lizozom lizozom reopened this Feb 1, 2021
@Dosant Dosant added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort and removed triage_needed labels Feb 24, 2021
@Dosant Dosant added the triaged label Feb 24, 2021
@Dosant Dosant added impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. and removed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Mar 1, 2021
@Dosant Dosant assigned dokmic and unassigned lizozom Apr 29, 2021
dokmic added a commit that referenced this issue May 12, 2021
)

* Fix creating filters for non-distinct values in the embedded search (#92876)
* Fix creating non-unique filters in the visualization (#66595)
dokmic added a commit to dokmic/kibana that referenced this issue May 12, 2021
…stic#99400)

* Fix creating filters for non-distinct values in the embedded search (elastic#92876)
* Fix creating non-unique filters in the visualization (elastic#66595)
dokmic added a commit that referenced this issue May 12, 2021
) (#99926)

* Fix creating filters for non-distinct values in the embedded search (#92876)
* Fix creating non-unique filters in the visualization (#66595)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Filters impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.