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

[Lens] Make metric columns filterable in table #139083

Closed
Tracked by #57709
flash1293 opened this issue Aug 18, 2022 · 1 comment · Fixed by #143219
Closed
Tracked by #57709

[Lens] Make metric columns filterable in table #139083

flash1293 opened this issue Aug 18, 2022 · 1 comment · Fixed by #143219
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@flash1293
Copy link
Contributor

Lens metrics can be filtered even if there is no breakdown dimension if the metric column can produce a valid filter (which is the case for filtered metrics and for metrics based on a field). The same logic should be applied to table cells:

  • Check whether a column is filterable before rendering
  • Pass down that information to the component
  • If filterable, render "filter in" and "filter out" cell actions for the metric and execute the filter action on click
@flash1293 flash1293 added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Aug 18, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

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 Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants