反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

Tree filter component

  • Recent Updates: April 25, 2022
  • 1 Overview

    For online video learning of tree filtering components, please refer to: filtering components

    1.1 version

    FineBI version numberJAR package dateFunction changes
    5.1--
    5.1.92021-01-06The tree label field name can display up to 8 Chinese characters in width
    5.1.102021-02-05Support tree filter component "set as required"

    1.2 Application scenarios

    The tree filtering component refers to a component that displays the filtering data in a tree structure. The tree filter component can display fields with hierarchical relationships, such as the hierarchical relationship of "country-province-city". When filtering, the country, province and city can be filtered at the same time or separately, and when the number of countries, provinces and cities is large, the tree structure is also easy to find.

    Before using the tree filter component to display hierarchical filter relationships, you may need to use self-circulating columns to process data into hierarchical relationship display.

    1.3 Function introduction

    FineBI's tree filter component includes three types: drop-down tree, tree label, and list tree, as shown in the following figure:

    image.png

    Note 1: The tree filter component only supports adding a table field. If you drag in a field from another table, the previously added field will be cleared.

    Note 2: Please refer to section 2.1 of the time filter component for the description of "Set as required"

    2. Example

    This article describes how to add a tree filter component. For example, add a tree filter component to filter the data of other components on the dashboard, and filter out the data of "China-Yunnan Province".

    For tree filtering operations, please refer to the document: Filtering component operations

    1) Create a new dashboard, click Add component, and select Demo data "Customer Dimension Table". as the picture shows:

    image (1).png

    2) Make a detailed list, as shown in the figure below:

    image (2).png

    3) And click to enter the dashboard, enter the dashboard edit page, click the filter component, select the required value interval filter component and drag it in, as shown in the following figure:

    image (3).png

    2.1 Drop-down tree

    After dragging in the "drop-down tree" component. Bind the field and set the default value of the filter component, as shown in the following figure:

    image (4).png

    Check the value in the drop-down box of the "drop-down tree" component to filter in the detailed table, as shown in the following figure:

    image (5).png

    2.2 Tree tags

    After dragging in the "tree label" component. Bind the field and set the default value of the filter component, as shown in the following figure:

    Note: The tree label field can display up to 8 Chinese characters in width.

    image (6).png

    Check the value in the drop-down box of the "Tree Label" component to filter in the list, as shown in the following figure:

    image (7).png

    If the tree label is set to "Required" for the default value, after clearing the last specific value in "Unlimited" or "Unlimited", the data will not change, and no query will be performed after clearing.

    For example, check "Set as required" and set the default value to "Yunnan Province" and "Kunming City", as shown in the figure below:

    image (8).png

    Then in the dashboard interface, clear the last specific value in "Unlimited" or "Unlimited", that is, clear "Kunming City" and then "Yunnan Province". At this time, the data will remain selected as "Yunnan Province". Will change, and no query will be performed after clearing, as shown in the figure below:

    FD272153-95F1-4455-A8E0-F51AD7338BDB.GIF

    Note: The (empty) appears in the filter option because there are some other independent province-level data that are not stored in the Chinese level under the national level node.

    2.3 List tree

    After dragging in the "list tree" component. Bind the field and set the default value of the filter component, as shown in the following figure:

    image (9).png

    Check the value in the drop-down box of the "List Tree" component to filter in the detailed table, as shown in the figure below:

    image (10).png

    Attachment List


    Theme: Build Charts and Analyze data
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭