question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SIP-25] Proposal for text based dashboard filters

See original GitHub issue

[SIP-25] Proposal for text based dashboard filters

Motivation

In our projects analysts need to browse through large dataset (7M rows). They often need to search for rows by values which are unique or have very large number of unique values. Current implementation of dashboard filters is based on limited number of value buckets and does not allow them to do this.

Proposed Change

Add new visualization type - ‘Search Box’ which would allow to specify filter values by free typing.

New chart type should at least enable filtering with ‘==’ operator. Additionally every defined filter could allow for different filtering operators to be used:

For text columns:

  • contains => column LIKE '%value%'
  • does not contain => column NOT LIKE '%value%'
  • starts with => column LIKE '%value'
  • ends with => column LIKE 'value%'
  • is empty => column IS NULL
  • is not empty => column IS NOT NULL

For number columns: arithmetical comparison operators.

Similar functionality is already present in chart query configuration section. We would like to see similar functionality on dashboard level available to the end users of the dashboards.

New visualization would not need to perform any queries to render. It would be based on table metadata only.

New or Changed Public Interfaces

Base version of this improvement containing only ability to filter by exact value(==) requires only new visualization to be prepared. It would emit filters in the same way that ‘Filter Box’ and ‘Table’ charts do.

Extended version requires changes in how filter state is stored on Dashboard level - it should contain information about used comparison operator. Also new addFilter action should be added and getEffectiveExtraFilters function should be extended.

New dependencies

None

Migration Plan and Compatibility

n/a

Rejected Alternatives

Existing ‘Filter Box’ visualization could be extended to allow for free input, but it is probably better to separate slice which performs query from one which can be rendered without fetching any data.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:23
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
claytongulickcommented, Apr 29, 2022

Is there an existing solution for performing LIKE queries for searching inside of a text column? Got to this issue from google trying to find a solution.

4reactions
rusackascommented, Feb 4, 2022

Reopening since Native Filters doesn’t quite cover what this SIP asks for. Technically this is discussion, so we’ll leave it there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding and editing user-defined dashboard filters | Looker
To get started, make sure the dashboard is in edit mode and that you have at least one query tile or Look-linked tile....
Read more >
Creating Dashboard Filters - Interacting with Filters as a ...
This article explains how to create dashboard filters using the different filtering options. In this section you will learn how to:.
Read more >
Adding one-click interactive filters - Amazon QuickSight
One-click interactive filtering provides point-and-click filtering that cascades from the clickable visual to all the other visuals and insights on a sheet.
Read more >
Interactive Filters on dashboards
To be effective, interactive filters must be based on the same tables as the reports they filter. Report widgets based on the user...
Read more >
Dashboard Filter Examples
You can view dashboard data from different perspectives by applying filters. A single dashboard with well-chosen filters can do the work of several...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found