Data element filters

You can add a filter to a data element that limits the display to show only data that meets certain criteria. You create filters directly on a single data element. For a list of data elements see Intro to Data Elements. You can convert a data element filter into a control on a page. For more information see Intro to Control Elements.

Filter Types

A filter’s type dictates the type of user input values that will be accepted by the filter and the format in which those values are accepted. For example, aΒ list filter provides a list of data values for users to choose from, while a range filter requests minimum and/or maximum values.

Sigma workbooks support seven filter types. The filter types you can choose from for each given filter are dependent on the type of columnΒ the filter targets.

JSON columns are the only column type that cannot be filtered. To filter on JSON data, first extract data from the JSON object. To begin extracting data, open the column's menu and select Extra columns.

Include

Description: Selected values are included in your data. All other other values are excluded.
Input Type: List of selectable values
Column Types: Text, Numbers, Dates
Maximum Number of Values Displayed: 200
Sort Options: Descending by count (default), Ascending by count, Descending by alpha-numeric, Ascending by alpha-numeric

Screen_Shot_2022-04-11_at_9.47.45_AM.png
Note: Superficially, include and exclude filters look almost identical. A filter's type can be identified from its Β more (More icon) menuΒ or from use and observation.

Exclude

Description: Selected values are excluded in your data.
Input Type: List of selectable values
Column Types: Text, Numbers, Dates
Maximum Number of Values Displayed: 200
Sort Options: Descending by count (default), Ascending by count, Descending by alpha-numeric, Ascending by alpha-numeric

Screen_Shot_2022-04-11_at_9.47.14_AM.png
Note: Superficially, include and exclude filters look almost identical. A filter's type can be identified from its Β more (More icon) menu or from use and observation.

Range (Number)

Description: Only values within the specified range are included in your data. The range is min/max inclusive.
Input Type: Min/Max numeric input boxes
Column Type: Numbers

Screen_Shot_2021-05-26_at_2.37.59_PM.png

Date Range

Description: Only values within the specified range are included in your data. The range is min/max inclusive. Both fixed and relative date types are supported.
Input Type: A single input box with the option to select fixed and/or relative dates for both min and max values.
Column Type: Dates

date-range-relative-date-options.png

Text Match

Description: Search for full and partial matches between the input text and the data’s values.
Input Types:

  • A list of formulas to match on (such as Contains, Starts with, Ends with, Like), in addition to their value excluding counter parts (such as Does not contain, Does not start with, Does not end with, and Not like).

  • A text input box for search text.

  • A checkbox for selecting case sensitivity (available through the filter's more (More icon) menu).

Column Type: Text

Screen_Shot_2021-05-26_at_2.43.00_PM.png

Boolean (true/false)

Description: Filters on true, false and null
Input Type: A list of values
Column Type: Logical (true/false)

Screen_Shot_2021-05-26_at_2.38.59_PM.png

Top N

For more details about using Top N see Top N Filter.

Description: Ranks and limits data in the column based on your specifications.
Input Type:
(1) A list of rank order/direction (e.g. First N)
(2) A numeric input for number of values to include
Column Types: Text, Numbers, Dates

filter-options-topn.png

Create a Filter

Before you start: This action is only available in edit mode. To begin editing, click Edit in the top right corner of the page.

  1. Select the element you want to filter.

  2. Hover over the column you would like to filter, and click its caret (caret icon) icon button.

  3. Click Filter.
    column_menu___filter.png

  4. The new filter is added to the filter list and displayed in the filter popup above the element.

    new_element_filter_popup.png

    • Existing filters can be accessed from filter (Filter icon) button in the element's inline toolbar.

    • If the element is expanded, the same button is available in the page toolbar.
      Screen_Shot_2022-06-15_at_11.49.53_AM.png

    • A filter type is auto-selected based on the column's type.
      Open the individual filter's more (More icon) menu to change its type.

Screen_Shot_2022-06-15_at_11.46.44_AM.png

Keep Only or Exclude (Quick Filter)

Before you start: This action is only available in edit mode. To begin editing, click Edit in the top right corner of the page.

To quickly include or exclude a single value from a column's data, use the Keep only or Exclude options from the cell's right-click menu.

Example 1: Right click on a vertical bar chart's bar to open the cell context menu for the x-axis value represented by that bar. In the image below, clicking Keep only 2018 would filter the visualization to only show that one bar. Clicking Exclude 2018 would filter out the 2018 bar, leaving the 2015, 2016, 2017 and 2019 bars.

Screen_Shot_2021-05-26_at_3.50.39_PM.png

Example 2: Right click on a table or pivot table cell to open that cell's context menu. In the image below, clicking Keep only Midwest would filter the table to only show data rows with a cell value matching "Midwest" in the [Store Region] column. Clicking Exclude MidwestΒ would filter out any row with a cell value matching "Midwest" in the [Store Region] column.

Screen_Shot_2021-05-26_at_4.04.07_PM.png

To Keep/Exclude multiple values at once, press Shift, select the cells you'd like to filter the table by, and right click on the cells to open the context menu. In the image below, clicking Keep only 3 values would filter the table to show only data rows with cell values matching "West", "Southwest", and "Midwest" in the [Store Region] column. Clicking Exclude 3 values would filter out any row with a cell value matching "West", "Southwest", and "Midwest" in the [Store Region] column.

Screenshot

Open & Edit an Existing Filter

  1. If you have a full workbook page open, hover over the element and click theΒ  filter (Filter icon) button in its inline toolbar.

    open_filter_popup_-_full_page.png
    OR
    If the element is expanded, the same button is available in the page toolbar.
    Screen_Shot_2022-06-15_at_11.49.53_AM.png

  2. Use the element's input box(es) to modify a filter's value(s).

Edit a Filter Type

Before you start: This action is only available in edit mode. To begin editing, click Edit in the top right corner of the page.

  1. Click the element's filter (Filter icon) button to open its filter popup open the filter popup.

  2. Click the filter's more (More icon) menu.

  3. Select the new filter type.

change_filter_type.png

Disable a Filter

  1. Click the element's filter (Filter icon) button to open its filter popup open the filter popup.

  2. Click filter's switch toggle to disable or reenable a filter.

disable_filter.png