Concepts → Filter Option

About a filter option

A filter option is a type of dashboard filter. A filter option is a filter expression that affects all applicable insights on all tabs of the given dashboard.

A filter option behaves the same way as an applied filter. The difference between an a filter option and an applied filter is that a dashboard consumer is aware of the filter option. A padlock icon next to the dashboard title in the action bar of a dashboard indicates one or more filter options.

Note

The tooltip for the padlock icon incorrectly refers to security options. A filter option is not a security option.

A dashboard consumer with View access rights to the dashboard can select a filter option in the Filter Options menu. If there is only one filter option, the menu only show this single option.

A dashboard developer creates one or more filter options. At least one filter option is the default option. If a dashboard developer defines more than one filter option, a dashboard consumer can switch between the various filter options.

A dashboard developer with Edit access rights to a dashboard can create and edit one or more filter options. Here’s how:

  • In the Action bar of a dashboard, select More Options (⋮ vertical ellipsis icon).
  • In the More Options menu, select Manage Filter & Prompts.
  • In Dashboard Filters, in the Action bar, select Filter Options (filter funnel and gear icon).
  • In Filter Options, select Add (+ addition icon) to create a new option or select an existing filter option to make changes.
  • From the Data panel, drag & drop a column or formula to the filter options tray.
  • Configure the properties of the filter option pill.

Valid references in a filter expression for a filter option pill

As a filter expression, a filter option pill has at least one filterable column, a filter operator, and at least one filter value. A filterable column for a filter option pill can be a data-backed column or a formula column from:

  • an alias
  • a physical schema table
  • an Incorta Analyzer table
  • a materialized View
  • a business Schema View
  • an Incorta View
Note

The join relationships between physical schema tables affect a filter expression. For example, when the filterable column is from a parent table, the filter expression automatically applies to all the dashboard insights related to this table’s child tables. However, if the filterable column is from a child table, the filter expression does not affect the insights related to the parent tables.

Important: A filterable column from an Incorta View

A filterable column from an Incorta View will only affect an in insight on a dashboard that queries that specific Incorta View.

Certain filter operators afford various options for selecting one or more filter values. For example, when using the In Query operator, you can use a query expression to generate the list of values to apply as a filter. Also, the In and Not In operators allow for the selection of none, one or more, or all filter values.

A filter value for a filter option can be a scalar value, array of scalar values, or a reference to a variable as follows:

You can also define a filter option as a filter expression using the Formula Builder.

View access rights

In order to reference a column or variable in a filter expression, you must have View access privileges to the grandparent object (schema or business schema) or the variable. A global variable is available to all users.

About an applicable insight for a filter option

In the context of a filter expression, an applicable insight is one that the filter expression applies to. In this regard, there is a relationship between the applicable insight and the filterable column in the filter expression.

The joins between the physical schema tables and the query plan for an insight measure determine whether or not the filterable column affects the insight. For example, a physical schema column in a parent table serves as a filterable column for a measure in a child table. However, a physical schema column from a child table is not a filterable column for a parent table, even when it is the foreign key reference.

Note

You can use the In Query operator in a filter expression to filter the parent table values using a query or queryDistinct built-in function. The query or queryDistinct built-in functions can reference a child table column (or any other table with no relation to the parent table) to generate the filter values.

For a filterable column, an applicable insight meets one of the following conditions:

  • The filterable column is a dimension or measure column in the insight.
  • The filterable column has a sibling column from the same physical schema table, and that sibling is a dimension or measure for the insight.
  • The filterable column is a dimension or key that shares a measure on the insight from a common child table with other dashboard insights.

If an applicable insight already contains an insight individual filter, a filter option will complement the insight individual filter based on a common filterable column as described above.

Properties for a filter option

The following are the general properties of a filter option.

Property Description
Name Enter the name as it will appear on the dashboard in the filter
Default Enable this option to set the current filter option as the default. If you create only one filter option, it will act as the default.
Filter Drag and drop a column or New Formula from the Data panel to the filter tray. Once specified, the column or formula will appear as a filter pill. You can then edit the filter pill properties.

Properties for a filter option pill that is a column

The following are the properties of a filter option pill that is a column:

Property Control Description
Name text box Optional. Enter the display name for the column. A dashboard user will not see this value.
Edit Operator / Value(s) link Select to specify the filter operator and filter values. For certain data types, you must manually add a reference to a variable. For a column of the type date, you can specify a specific date or select a date system variable for the date picker control.
Operator / Value(s) → Back link Select to go back to the filter option pill properties without saving selected values, if any
Operator / Value(s) → Operator link Select the default operator next to the pill name, and then select the operator you want. Available operators may vary according to the data type of the selected column.
Operator / Value(s) → Filter link Select to confirm the values you select.This property is available only when the selected operator allows for multiple values, for example. In, Not In, and Between.
Operator / Value(s) → Search / Add text box Enter a search term to search for specific values, or enter a value, and then press Enter. You can reference an internal or external session variable, global variable, presentation variable, date system variable, or miscellaneous system variable. This property is available only when the selected operator requires one or more values.
Values list Select one or more values. This property is available only when the selected operator allows for one or more values. For some operators, you can select all available values or select to enter multiple values in bulk by entering them as delimited values.
Values → Case Sensitive toggle Enable to match both the value text and letter case
Values → Select All link Select all values on the list. This property is available only when the selected operator allows for multiple values.
Select None link Clear the selection of values.This property is available only when the selected operator allows for multiple values.
Values → Bulk link Select to enter multiple values in bulk by entering delimited values. This property is available only when the selected operator allows for multiple values.
Bulk → Delimiter drop down Select the delimiter you use to separate the values you enter in bulk, Comma or Line break. This property is available when you select Bulk for the values.
Bulk text text box Enter or paste the values separated by the delimiter you select. This property is available when you select Bulk for the values.
Bulk → Select link Select this property to confirm the delimited values you entered. This property is available when you select Bulk for the values.

Properties for a filter option pill that is a formula

The following are the properties of a filter pill that is a formula:

Property Control Description
Name text box Optional. Enter a name for the formula. A dashboard consumer will not see this name.
Dynamic toggle Enable this option to select an external session variable or a filter expression session variable. If using an external session variable, the external session variable must return a string that represents a filter expression.
Value drop down list Select an external session variable or a filter expression session variable. Visible only when Dynamic is enabled.
Formula text box Select to open the Formula Builder to create the filter expression. Visible only when Dynamic is disabled.
Edit Operator / Value(s) link Select to determine the filter expression operator and values for the filter option pill. Visible only when Dynamic is disabled.
Operator / Value(s) → Back link Select to go back to the filter option pill properties without saving selected values, if any
Operator / Value(s) → Operator link Select the default operator next to the pill name, and then select the operator you want
Operator / Value(s) → Filter link Select to confirm the values you select. This property is available only when the selected operator allows for multiple values, for example. In, Not In, and Between, or does not require any values, such as Null and Not Null.
Operator / Value(s) → Add text box Enter a value, and then press Enter. You can reference an internal or external session variable, global variable, presentation variable, date system variable, or miscellaneous system variable.
Values list Select one or more values. This property is available only when the selected operator allows for one or more values. For some operators, you can select all available values or select to enter multiple values in bulk by entering them as delimited values.
Values → Select All link Select all values on the list. This property is available only when the selected operator allows for multiple values.
Select None link Clear the selection of values. This property is available only when the selected operator allows for multiple values.
Values → Bulk link Select to enter multiple values in bulk by entering delimited values. This property is available only when the selected operator allows for multiple values.
Bulk → Delimiter drop down Select the delimiter you use to separate the values you enter in bulk, Comma or Line break. This property is available when you select Bulk for the values.
Bulk text text box Enter or paste the values separated by the delimiter you select. This property is available when you select Bulk for the values.
Bulk → Select link Select this property to confirm the delimited values you entered. This property is available when you select Bulk for the values.
Note

Typically, you specify a filter expression session variable when you enable the Dynamic property. If using an external session variable, the external session variable must return a string that represents a filter expression.


© Incorta, Inc. All Rights Reserved.