Skip to main content
Version: 8.4.1

Page Filter

Overview

This article provides an overview of the page-level filters supported by Guandata BI. You can find the supported filter types, features available to filters as independent cards, and usage instructions for the Filter Bar and filter groups.

Feature Description

Guandata BI provides 8 types of Page Filters (Select, Tree, Condition, Range, Date, Quick Date Range, Parameter, and Combination Condition). By using Page Filters, users can filter data through different interaction methods to present key analytical content, enabling rapid focus and efficient decision-making.

Application Scenarios

Page filters are mainly applied in the following scenarios:

  1. When viewing a Dashboard, users need to flexibly switch between data of interest;
  2. When a single filter needs to apply to multiple cards simultaneously;

Filters support detail-data filtering. Range filters also support aggregation and result filtering when Analysis Engine 2.0 is enabled; see Range Filters.

Getting Started

Filter or workflowUse
SelectFilter a dataset field by selected values.
TreeSelect hierarchical filter values.
ConditionFilter a field using conditions such as keyword matching.
RangeFilter linked cards by an interval.
DateConfigure date filtering without selecting a dataset or date field.
Quick Date RangeOffer predefined date intervals without a dataset or date field.
ParameterFilter cards that use the corresponding parameters for dynamic analysis.
Combination ConditionCombine fields and conditions using AND/OR for complex filtering.
Quick QuerySave frequently used conditions and switch between them.
Synchronized filtersKeep filters on related pages in sync when switching dashboards.

Filter Card Features

As a type of card on the page, filters also have independent card features.

Feature / Filter Position Filter Bar Canvas (Page Layout)
Edit Enter the filter editing dialog to modify saved configuration items.
Save As Supports saving filter cards to other pages. When saved together with linked cards, the linkage relationship is retained (if saved separately one after another, the linkage relationship cannot be retained and needs to be reconfigured).
Page - Batch Edit Cards supports batch selection of filter cards for Save As.
Recorder Cards / Supports selecting a card and moving the filter card to the front/back of the selected card (indicated by a blue line).

2.png

Adjust Width Can manually set the relative width of the filter in the Filter Bar. Only Select, Condition, and Range filter types are supported.

3.png
/
Tooltip Set tooltip for the filter, only supports "Next to Chart Title".
Image
Set tooltip for the filter, supports "Toolbar" and "Next to Chart Title
".
Image
Card Selector Click **Card Selector** to enter the linkage configuration dialog to modify the linkage relationship between the filter and cards.

4.png
Style / Different filter types have different configurable styles in the layout.
Can switch styles and set whether to display the filter name and filter background color.
Move to Filter Bar / When the filter is in the layout, it can be moved to the Filter Bar.
Move to Canvas When the filter is in the Filter Bar, it can be moved to the canvas. /
Move To / Through Move To, the filter can be moved to other pages.
View Resource Lineage / Enter the resource lineage view of the filter card to see the filter's source path and downstream cards.

7.png

View Query Statement View the SQL statement corresponding to the filter's content, with one-click copy support.

8.png

Delete When deleting a card, you can move it to the card pool or delete it permanently:
Move to Card Pool: The linkage relationship with cards remains effective, and the card can be recovered from the page's card pool;
Delete Permanently: Clears the linkage relationship with cards and cannot be recovered.
Page - Batch Edit Cards supports batch selection of filter cards for deletion.

Filter Bar

The Filter Bar is a container located at the top of the page, specifically designed to hold filters. Placing page filters in the Filter Bar makes them easy to use, and they can be collapsed when not needed, saving space and improving dashboard information density.

The Filter Bar supports creating new filters, creating new filter groups, adding filters, and setting styles and layouts.

FeatureDescription
New FilterAn entry point for creating filters. After creation, the filter is displayed at the end of the Filter Bar.
New Filter GroupGroup filters in the Filter Bar.
Add FilterAdd filters from the layout to display in the Filter Bar. By default, they are displayed at the end of the Filter Bar, and filters moved into the Filter Bar will revert to the default style.
StyleSupports setting the style and layout of the Filter Bar, including layout mode, filter spacing, filter name position, button color (query button color), and background color.
  • Layout: Supports adjusting layout mode, Filter Bar padding, and filter spacing.
    Paragraph: Filters are laid out sequentially with adaptive width.
    Grid: Filters are tiled in a grid, with 24 columns per row, adjusting width by grid.
  • Filter Name: Supports adjusting the position and text style of filter names.
  • Filter Control: Supports adjusting the style and text style of filter controls.
  • Button: Supports adjusting button color, order, and text style.
  • Background Color: Supports adjusting background color or uploading a custom background image.


    |350
ClearOne-click clearing of filter conditions in the Filter Bar. Requires clicking Query to take effect.
QueryAfter adding filters to the Filter Bar, supports one-click application. After application, card data will be queried according to the latest filter conditions.

Filter Group

In the Filter Bar, related filters can be grouped together to help users quickly locate key filters during use.

|300

Filter groups support adding filters, renaming, adjusting the position of the filter group in the Filter Bar, and deletion.

FeatureDescription
Add FilterCan add other filters from the Filter Bar into the filter group. Filters moved into the group can be moved out.
RenameModify the name of the filter group.
Card Position AdjustmentCan move the filter group's position in the Filter Bar (can be moved to the blue line position).
DeleteDeleting will remove the filter group and all filters within the group.

Quick Query

Quick Query is a convenient and efficient data filtering tool. Users can save commonly used filter conditions to Quick Query for rapid switching between different query conditions. Through Quick Query, users can obtain data more efficiently without repeatedly setting filter conditions each time they access the page.

For example, users can save sales data for a specific time period or customer information for a specific region as Quick Query conditions. During daily viewing, simply click Quick Query and select one of the quick options to quickly access relevant data.

FeatureDescription
Save as Quick QueryTo set up a Quick Query, first open the data dashboard that needs it. Set the required query conditions on the page, such as selecting a specific time period, region, or other filter conditions. After setting the query conditions, click Quick Query > Save as Quick Query button, and name the Quick Query in the pop-up dialog. After setup, you can search by name in Quick Query.
17.png
Set as DefaultThe page's Quick Query can be set as the page's unique default query condition. After setting, all users entering the page will query according to the current Quick Query content.
Set as Public / Cancel PublicThe page's Quick Query can also be publicly shared. Administrators and page users can set their created Quick Queries to Public. After setting, all users with access to the page can use this public Quick Query. When the public Quick Query is no longer applicable, the owner can set it to "Cancel Public".
18.png
Update This Quick Query to Current Page Filter ConditionsCan quickly apply the desired Quick Query. After application, page card data will be updated according to the latest filter conditions.
DeleteWhen a Quick Query is no longer applicable, it can be deleted. Deleted Quick Queries cannot be recovered.

Range Filters

A range filter limits linked cards to a specified interval, such as sales amounts between 1,000 and 2,000.

Create and Configure a Range Filter

Create a filter from the filter bar, or add a card and choose the filter type. Select Range, then choose the source dataset and field. You can select a dataset already used on the page or search for another dataset.

From the filter bar, click Tap to create and select Range.

Create a range filter from the filter bar

Alternatively, click Add Card > Filter, then select Range.

Add a filter card before selecting Range

SettingDescription
FieldThe numeric, text, or code field to filter by range.
NameDefaults to the field name; you can change it.
Filter levelDetail filtering is the default: filter records before aggregation and later calculations. Aggregation filtering filters aggregated data and affects subtotals, totals, row/column and within-group ranking, and percentages. Result filtering filters the final result without changing completed calculations; setting aggregation to None applies a dimension result filter. Aggregation and result filtering require Analysis Engine 2.0.
OperatorGreater than, greater than or equal to, less than, less than or equal to, between (default), equal to, not equal to, empty, or not empty.
Default valueOptional. Enter a threshold for greater-than, less-than, equality, and inequality operators, or a start and end value for an interval.

Use Edit in the filter card toolbar to change these settings later.

Link Target Cards

Select the target cards and corresponding fields. Changing the filter updates their displayed data.

  • Automatic association links visualization cards containing fields with the same name. You can unlink individual cards manually.
  • Applying the filter to cards from the same dataset links their corresponding fields. These links can also be removed manually.

Select target cards and map their fields

The field, filter level, aggregation method, and value are passed to each linked card. Linkage does not support Chinese-style reports, form-entry cards, or detail tables. If linkage was configured before switching to aggregation or result filtering, those relationships are disabled. Use Linkage in the toolbar to edit the relationships later.

Pass a Range to Two Parameters

A range filter can pass its start and end to separate parameters. Entering or dragging an interval updates linked cards and calculated fields.

  1. Select the target card manually in the linkage settings.
  2. Choose parameter linkage, then select a page or global parameter for the start value and another for the end value.
  3. Complete and save the linkage.

For example, an average-order-value range of 100–500 sets Min_Price to 100 and Max_Price to 500. Downstream cards can use these parameters to calculate gross margin for the interval without two separate parameter filters. A store-code range of STORE_010–STORE_050 sets Start_Store_ID and End_Store_ID, supporting calculations such as regional comparisons across stores.

Automatic card association does not prevent manual parameter linkage. Both numeric and text/code endpoints can be passed to two parameters. Existing single-parameter links continue to work.

Range filter linked to start and end parameters

Use a Range Filter

Filters execute in this order: detail filtering, aggregation filtering, then result filtering. If an external filter conflicts with a filter in the card editor and the field, filter level, and aggregation method all match, the external filter takes priority. Otherwise, both apply in their respective order.

A filter cannot take effect in the following cases:

  1. Its aggregation or result filter conflicts with the linked field type, and the card field cannot use the configured aggregation. For example, Sum cannot be applied to a Province dimension.
  2. An aggregated measure used by an aggregation or result filter changes into an ordinary calculated field. Its aggregation is then empty, which is invalid for aggregation or result filtering on an ordinary field.
  3. A calculated field changes type and can no longer use the original aggregation, such as when a Sum formula becomes a dimension.

After filtering, each linked card shows the filtered data. Hover over the small funnel icon in a card's toolbar to inspect its current filter conditions.

Filter Priority

Priority Order: Parameter Jump > Sync Filter > Quick Query > firstpick

The above rules apply when there is an overlap in any filter with cascading, tree, or linkage relationships. In such cases, all filters in that group will take effect according to the rules, and associated filters can only be set to empty, even with parameter jumps.

Example 1: first pick + Default Quick Query

  • There is an A -> B -> C cascading filter, A is first pick, and the default Quick Query values save B and C values.
  • Result: Quick Query B and C take effect, A is the value after linkage.

Example 2: first pick + Sync Filter

  • There is an A-> B -> C cascading filter, AB is first pick, C is a routing parameter.
  • Result: Routing parameter C takes effect, A and B are values after linkage.

Example 3: Sync Filter / Parameter Jump + Quick Query

  • There is an A-> B linked to C, A-> B linked to C2 cascading filter, Quick Query is A, B, C, and the parameter is C2.
  • Result: Parameter C2 takes effect, A and B are empty, and the Quick Query is invalid at this time.

Example 4: Mutual Linkage + Sync Filter

  • There is Page 1, where A and B are mutually circularly linked, B has the first pick function enabled, B and Page 2's filter D are mutually sync filters, Page 2's C and D are mutually circularly linked. When switching from Page 1 to Page 2.
  • Result: Page 2's D is consistent with B's value. Since it conflicts with C's value at this time, C's value is cleared.

Use Guide

Filter operations are generally the same. This article takes select filter as an example for introduction.

Overview

Feature Introduction

After setting up a Select Filter, users can filter the values of a specific field in the dataset.

Application Scenarios

During data analysis, if a user needs to focus on a specific product category, they can create a Select Filter, selecting the product category dimension field as the filter field. At the same time, they can control which related cards the filter condition applies to.

Operation Steps

Create a Select Filter

On a page, there are two entry points for creating a Select Filter: creating it from the Tap to create / Add entry in the filter bar, or creating a new card and selecting Filter.

  • Filter bar > Tap to create / Add;

  • Page > Add Card > Filter.

Select Select as the filter type to enter the Select Filter editing dialog.

Filter Property Configuration

When setting up a Select Filter, first select the source dataset, then select the field that consumers need to filter by.

  • Supports setting whether the selection type is single-select or multi-select, then choosing a suitable style;
  • Can optionally set the filter's default value, and also filter, sort, and configure geographic location for the option list.
Operation
Description
Select DatasetCan quickly select the current page's dataset, or search and select a new dataset.
Select FieldSelect a field, taking a date field as an example.
Set Date Option List Format: If the field is a date type, the default option list is in original value format. You can also set the date option list format to: Year, Quarter, Month, Week, or Day of Week for filtering;


Display Field Applicable Scenarios:
1. The display field and linkage field have a one-to-one mapping, such as one province name corresponding to one province code;
2. When the display field and linkage field have a many-to-one relationship, such as one product code corresponding to multiple product names; the "linkage field" is mainly used by creators for data retrieval and dashboard linkage analysis, and needs to have uniqueness and clarity; if it affects end-user experience, the "display field" can be set to facilitate end-user viewing. After setting the "display field", users will see and select values from the display field's value list when using the filter on the page.
NameDefaults to the selected field name, can be modified.
Filter Level
  • Detail Filter (default): Filters the dataset's detailed data first, then performs aggregation and subsequent calculations.
  • Result Filter: Filters the final result data, all calculations are unaffected.
    Note: If the filter field is a dimension field and the filter level is Result Filter, the filter will only take effect when the filtered dimension field exists in the card's dimension/contrast/split area.
Select TypeDefault is single-select, can be switched to multi-select.
Single-select (Select): When using the filter, only one field value can be selected for filtering;
Multi-select (MultiSelect): When using the filter, multiple field values can be selected for filtering.
Note: When multi-select is enabled, you can configure whether to display the Exclude button when selecting options. For filters using the exclude function, linkage parameters cannot take effect.
StyleWhen the Select Filter is in the Filter Bar, only the Dropdown List style is supported; when the Select Filter is in the layout, it also supports Dropdown List, "Radio Button/Check Box", and "Button Bar" styles, which can be set according to user habits.
Note:
After selecting options and using Exclude, the passed condition is "Does not include Option 1, Option 2"; when linking cards at this time, linkage parameters cannot be passed because parameters can only pass equal conditions.
Allow clear
  • If Allow clear is checked, the filter is not required;
  • If Allow clear is not checked, the filter is required, and the filter page displays a required icon; if a required filter is not selected, the system will report an error.

Default ValueThe system filters data by the default value when users open the page.

Single-select (Select): supports Fixed, Custom Macro-Time, Follow User Properties, and First in List.
|300

Multi-select (MultiSelect): supports Fixed, Custom Macro-Time, Follow User Properties, and First N in List.
|300

  • Fixed: Select one or more fixed values according to the selection type.
  • Custom Macro-Time: Enter a time macro. The system queries the default value using that macro, usually for date filters.
  • Follow User Properties: Use a user attribute to show the data relevant to the current user by default.
  • First in List: A single-select filter takes the first item in the current option list each time the page opens. Existing First in List configurations continue to take the first item.
  • First N in List: An ordinary multi-select filter selects the first N items in the current option order. If fewer than N items are available, it selects all available items. Tree filters are not supported.
    • Count: Enter an integer from 1 to 100. Values above 100 are adjusted to 100 with a message. Decimal or empty values cannot be saved.
    • Preview: Shows at most the first five items, followed by an ellipsis for the rest. The actual default still uses N items.
    N controls only the default selection. Users can manually select more than N items; this is not an unlimited dynamic Select All.
Dynamically update after linkageApplies to First in List for single-select filters and First N in List for multi-select filters.
  • Enabled: When an upstream filter changes, calculate the default again from the new option list: the first item for single-select, or the first N items for multi-select, then pass the result to downstream cards.
  • Disabled: Keep the original default without recalculating it when upstream conditions change.
Option ListOnly randomly displays 200 options; supports geographic location configuration, filtering, and sorting functions:
Geographic Location Configuration
  • Applicable Scenario: Based on the dataset basic information set by the filter (such as province, city, etc.), configure geographic location-related information for the filter to conveniently query data information for different geographic locations. For example, in the chain retail industry, when about to start store inspection or already arrived at a certain city, you can view relevant data for the corresponding city or store on the mobile end. This enables middle and senior management, regional supervisors/managers, etc. to more conveniently check problems and give targeted guidance during store inspections.
  • Prerequisites: 1. Open location acquisition permission; 2. Have corresponding city/province field information for fuzzy matching;
  • Function: By configuring province/city geographic information, when browsing the dashboard, selecting this filter can obtain the current location's latitude and longitude information, then match from the customer store's latitude and longitude data to get the closest address for return.
Filter: Can filter the current field's options, with filtering criteria being either the current field or other fields; for example, if the filter field is city and you need to filter all cities in Sichuan Province, you can directly select all corresponding cities, or select the province field to filter Sichuan Province.
Sort: Supports sorting the option list using the current field and other fields.

If you need to edit the filter's properties again, find Edit in the filter card's toolbar to re-enter the filter property configuration dialog.

Set Linked Target Cards

When linking, you need to select the target card and the corresponding filter field. After setting, changes in the filter will link to change the data presented in the associated cards.

  • Auto-link Cards: After enabling auto-link for the filter, it will automatically link to visualization cards with fields of the same name; auto-linked cards can be manually clicked to cancel the link;
  • Apply to Same Dataset Cards: Click Apply to Same Dataset Cards to automatically link other cards in the same dataset with corresponding fields. Cards applied to the same dataset can be manually clicked to cancel the link.

If you need to edit the filter's linkage relationship again, find Linkage in the filter card's toolbar to re-enter the linkage configuration dialog.

Using the Filter

Use

When users use it, the option limit is 1000; supports fuzzy search, batch paste, and viewing selected items.

  • Fuzzy Search: Case-insensitive, but some direct-connect databases do not support case-insensitivity;
  • Batch Paste: After one-click copying of options, you can automatically match the option list by name, reducing click steps.

View Filter Effect

After filtering, the filter will take effect on each linked card, and the card will present data filtered by the filter;

When browsing cards, users can hover over the small funnel icon in the card toolbar to view the current filter conditions.