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

[Dashboard][Control] Allow a control to be ignored in lenses when the data view do not contain the control's field #172478

Closed
maximekuntz opened this issue Dec 4, 2023 · 2 comments
Labels
enhancement New value added to drive a business result Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@maximekuntz
Copy link

Describe the feature:

On a dashboard, it would be useful to have an option in the Control settings to filter documents on the values selected in the Control panel for the associated field and the documents that do not have the field.
This would correspond to field_name: selected_value or not field_name: * for a Control on field_name.

Describe a specific use case for the feature:

On a dashboard, I have lenses that use data from several data views. These data views have many common fields but some fields are only available in one data view. The users of the dashboards do not all know Kibana query language syntax so that using a filter in the query bar at top of the dashboard is not easy for them. A control with easy-to-select values suits them better.

In this case, the user could filter on some fields in the control panel and:

  • in lenses using a data view having the field, it applies the control filtering
  • and in lenses using a data view without the field, control filter is ignored

Without this option, when a value is selected in a control, lenses do not show anything when they rely on data views without the field.
Thus, I have to:

  • use dashboard in 2 steps: one step with values selected in the control panel and one steps without to see lenses that do display data from documents without the filter from control panel;
  • or use two sepereate dashboards, one with lenses I look at with the control panel's filter and one for the other lenses.
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 4, 2023
@nreese nreese added enhancement New value added to drive a business result Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas labels Dec 4, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 4, 2023
@nreese
Copy link
Contributor

nreese commented Dec 4, 2023

Closing, duplicate of #170395

@nreese nreese closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

3 participants