---
url: /v7.0/en-us/filter-setting.md
---
# Filter Settings

## Sidebar Filters

When there are limited controls on the canvas, filters can be moved from the canvas to the sidebar. Expand the sidebar to filter data when needed, and collapse it when not in use.\
![](/images/data-analytics/filter/filter-setting.gif)

Filters are initially displayed on the canvas and can be moved to the sidebar via the `Move to Sidebar` option in the three-dot menu. Filters in the sidebar can be moved back to the canvas using the `Move to Canvas` option.

![](/images/data-analytics/filter/filter-setting-002.png)

Filters in the sidebar have a fixed display style and do not support customization.

> \[!TIP] Notes
>
> 1. When filters are in the sidebar, controls in the [Settings](#filter-interaction-operations) can be configured to select `Show Filter Tags After Publishing` and `Visible After Publishing`. If unchecked, the filters will not be displayed after publishing, meaning the content within the blue and red boxes in the image will not be shown.\
>    ![](/images/data-analytics/filter/filter-setting-001.png)
> 2. The sidebar can store not only filter controls but also [parameter controls](parameter-control.md#sidebar-parameter-controls).
> 3. The order of controls in the sidebar can be adjusted via the [Global Settings](#global-settings). The display order in the global settings determines the order of controls in the sidebar.\
>    ![](/images/data-analytics/filter/filter-setting-014.png)

### Mobile Sidebar Display

The sidebar can also be displayed on mobile devices, and in App creation, the mobile sidebar display is no different from the PC version, as shown in the figure below.\
![](/images/data-analytics/filter/filter-setting-015.png)

After publishing, the sidebar will appear at the top right of the Dashboard. Clicking the sidebar icon will display all controls in the sidebar (including filter controls and parameter controls). You can filter Dashboard data by selecting filter options, and clicking again will return to the Dashboard page.\
![](/images/data-analytics/filter/filter-setting-016.png)

## Filter Interaction Operations

In **Control Settings** -> **Interaction**, configure interaction operations related to filters. This includes filtering other datasets, linking filters to related charts, linking filters to specific charts, outer filtering, and binding App Parameters.

> \[!TIP] Tip
>
> 1. The filter button has no interaction operations.
> 2. Sidebar filters can be configured in interactions to `Display Filter Tags After Publishing` and `Visible After Publishing`.

### Filter Other Dataset Fields

Filtering other dataset fields refers to associating the current filter field values with fields in other datasets. When the filter options change, the charts of the other dataset fields that have been set will also interactively update with the filter options. As shown in the figure, after setting the interaction, the charts within the red box will interact with the filter.

![](/images/data-analytics/filter/filter-setting-003.png)

A tree filter contains multiple filter fields, so when setting a tree filter to filter other dataset fields, you need to first select the corresponding filter field.

### Bind App Parameters

> \[!TIP] Version 7.0 Feature
> This section covers binding filter outputs to App Parameters.

A filter can pass its selected values to an App Parameter so that charts using that parameter respond to the filter. For example, bind a multi-select Store filter to a multi-value parameter used by the charts.

Before configuring a binding, [create a parameter](parameter.md) and use it in the charts or their Datasets.

1. Select the filter while editing a Dashboard, open **Control Settings → Interaction**, and select **Bind App Parameters**.
2. Select the target App or Data Mart first, then select a parameter from that App. For range filters, configure the **Minimum / Maximum** or **Start / End** rows separately; only configure the boundaries you want to bind. Parameters with the same name in different Apps have separate identities.

![Select the target App](/images/data-analytics/filter/filter-app-param-binding-app.png)

3. The parameter list shows compatible parameters from the selected App. Click one parameter to complete the binding and close the list; there is no separate enable checkbox for each row. You can inspect parameter details in the list.

![Select one target parameter](/images/data-analytics/filter/filter-app-param-binding-param.png)

4. Change the filter selection and check the charts using the parameter. If a filter button controls the filter, click the button to apply the parameter value.

The target parameter must match the output data type and single-value or multi-value setting. Date and time parameters must also match the granularity. Each output can bind to one parameter; range filters can bind their two boundaries separately.

| Filter | Output | Target parameter |
| --- | --- | --- |
| Text single-select or text search | Current value | Single-value text parameter |
| Text multi-select | Selected value list | Multi-value text parameter |
| Numeric single-select | Current value | Single-value numeric parameter |
| Numeric range | Minimum and maximum | One single-value numeric parameter per boundary |
| Date or time selector | Current value | Single-value parameter with matching type and granularity |
| Date or time range | Start and end | One single-value parameter per boundary with matching type and granularity |

Tree, dynamic tree, and field-switching filters do not provide this binding option. Within a Dashboard, multiple enabled filter bindings cannot assign values to the same target parameter, and a parameter control cannot provide that parameter's current value at the same time.

Available Apps depend on Data Mart usage permissions. When Data Mart allocation is disabled, you can select the current App and accessible Data Marts. When enabled, only allocated Data Marts are available. Binding uses the same App-then-parameter selection as parameter mapping in [Parameter Controls](parameter-control.md), with the filter output as its source.

Clear **Bind App Parameters** to pause assignment while retaining the selected targets and disabling the configuration controls. Select it again to restore valid bindings, including bindings disabled after copying. This checkbox controls all configured boundaries of a range filter.

The delete icon clears the target in its row and returns to App selection, while keeping the title checkbox selected in the current editing panel. It does not delete the App Parameter. Changing the App clears the previous parameter; deselecting a parameter retains the selected App. Incomplete selections do not assign values.

If an existing binding is marked invalid, check whether the parameter is still available and its type is compatible. Select **Bind App Parameters**, then choose a compatible parameter again or delete the binding. Selecting the checkbox alone does not activate an invalid target. If a renamed parameter still appears under its old name, select that parameter again to update the binding.

### Linked Filter Correlation Chart

The linked filter correlation chart refers to charts created using the dataset where the filter options are located. This option is selected by default, indicating that when the filter options change, all correlation charts in this dashboard will be linked.

### Linkage Filtering for Specific Charts

Linkage filtering for specific charts involves selecting a portion of charts within the related charts for linkage. Unselected related charts will not participate in the linkage.

> Note\
> When configuring linkage filtering for specific charts, all charts in the dashboard will be listed, including related and unrelated charts. Selecting unrelated charts will not enable linkage.

![](/images/data-analytics/filter/filter-setting-004.png)

### Outer Filtering

By default, filters perform outer filtering, meaning the chart is rendered first, and then the data within the chart is filtered through the filter options. When this feature is disabled, the filter is pushed down to the dataset, meaning the dataset is filtered first before rendering, which can improve query performance.

When the outer filtering feature is disabled, filters are not always pushed down to the dataset in all scenarios.

* When Dataset A is used as a child table in the data model:
  * If fields from Dataset A are used in the chart, the filters of Dataset A will be pushed down to the dataset.
  * If fields from Dataset A are not used in the chart, and Dataset A as a child table has not been renamed, the filters of Dataset A will be pushed down to the dataset.
  * If fields from Dataset A are not used in the chart, and Dataset A as a child table has been renamed, the filters of Dataset A will not take effect and will not be pushed down to the dataset.

* When Dataset A is used to create an aggregated Dataset B (or other types of derived datasets such as multi-table unions, data aggregations, etc.), and Dataset B is used for charting:
  * If aggregated Dataset B has "Inherit Upstream Permissions" enabled, the filters of Dataset A will be pushed down to Dataset B and will affect the related charts.
  * If aggregated Dataset B does not have "Inherit Upstream Permissions" enabled, the filters of Dataset A will not be pushed down to Dataset B.

> \[!CAUTION] Note\
> When using a data model for charting and disabling outer filtering, pushing down filters in the model may result in discrepancies between the chart data and the data when outer filtering is enabled. In such cases, please disable the outer filtering feature with caution.

### Always Filter Data Within the Model

When data analysts create charts from a data model (as shown in the figure below) and add filters, they may want to use the field values from Branch 1 of the table in the model to filter and affect the related chart data in Branch 2 of the table.\
![](/images/data-analytics/filter/filter-setting-017.png)

A new checkbox option, `Always Filter Data Within the Model`, is added to the filter settings. By default, this option is not selected. Tree filters and dynamic tree filters do not support this feature.

Conditions for the feature to take effect:

* All join conditions on the path from the child table to the main table must be simple conditions.
* There are no filter conditions on the child table.\
  ![](/images/data-analytics/filter/filter-setting-018.png)

## Global Settings

When there are multiple filters in a dashboard, selecting one filter may require related filters to change accordingly, achieving linkage between filters. For example, when the city "Beijing" is selected, only store information related to Beijing should be displayed in the store filter.
![](/images/data-analytics/filter/filter-setting-005.png)

Global settings allow you to adjust the hierarchical relationships between filters to achieve filter association. Click the three-dot menu of a filter and select "Global Settings." A popup will display all filters that can have their hierarchy adjusted. Use the red buttons to move filters up or down, and the blue buttons to adjust their hierarchy.
![](/images/data-analytics/filter/filter-setting-006.png)
In the example, "City" and "Year" are on the same level and do not affect each other. "City" is the parent of "Store," and "Year" is the parent of "Order." When "City" is set to "Beijing," the store filter will display options related to Beijing, while the "Year" and "Order" filters remain unaffected. Similarly, when "Year" is set to "2019," the order filter will change accordingly, while the "City" and "Store" filters remain unaffected.

> \[!TIP] Tips
>
> 1. Global settings change the hierarchical relationships between filters, enabling linkage between filters.
> 2. The default value selection of child filters is influenced by their parent filters. For example, if the default value of "City" is set to "Beijing" and the default value of "Store" is set to "Raffles Store," but "Beijing" does not have a "Raffles Store," the default value will automatically select the first store under "Beijing."
> 3. Hierarchical relationships are merely logical linkage relationships between controls. Even controls from different data sources can have hierarchical relationships set. Parameter controls and filter controls can also have hierarchical relationships set.
> 4. Application-level filter controls or parameter controls are shared across multiple dashboards, so hierarchical relationships are shared across dashboards.
> 5. Filter controls and parameter controls within a dashboard cannot be set as the parent of application-level controls.

## Internal Filters

Internal filters refer to adding filters within a filter to control the value range of the filter field.\
![](/images/data-analytics/filter/filter-setting-008.png)

When the filter field is of text type, three methods are supported: Include, Exclude, and Expression.\
![](/images/data-analytics/filter/filter-setting-009.png)

When the filter field is of numeric type, the following filtering methods are supported:

* **Range**: Set a numeric range. Conditions within the range will be filtered. Boundary values can be included, and manual input is supported.
* **Comparison**: Set a numeric comparison formula. Conditions that satisfy the formula will be filtered. Comparison types include Not Equal, Equal, Greater Than or Equal, Greater Than, Less Than or Equal, Less Than, Is Null, and Is Not Null.
* **Include**: Filter conditions based on selected items.
* **Exclude**: Filter conditions based on unselected items, where selected items are excluded.
* **Expression**: Use expressions for conditional filtering.\
  ![](/images/data-analytics/filter/filter-setting-010.png)\
  For example, when selecting stores with sales orders where the unit price is greater than 500, different methods can be used for filtering operations:\
  ![](/images/data-analytics/filter/filter-setting-011.png)

When the filter field is of time type, the following filtering methods are supported:

* **Time Period**
* **By Year**
* **By Quarter**
* **By Month**
* **By Range**
* **By Expression**\
  ![](/images/data-analytics/filter/filter-setting-012.png)

Internal filters can be configured to display filter information in the chart. When this option is checked, the information will be displayed when the chart is opened.
