Overview
Application Scenario
You may need to filter components from other tables simultaneously through a filter component created by a table field.
For example, you need to filter bank branches in different regions through a drop-down tree filter component to view their business conditions.
Component Name | Component Type | Used Data Table |
---|---|---|
Bank Institution | Drop-down Tree Filter Component | Institution Table |
User Permission Table | Detail Table | User Permission Table |
Business Transaction Table | Detail Table | Business Transaction Table |
Implementation Method
To simultaneously filter multiple tables through the drop-down tree filter component, you can establish a self-looping column between the multiple tables and the table used by the filter component.
Procedure
Data Preparation
You can download Sample Data.zip.
1. Upload the sample tables in the business package, modify the field types of each table, and add inter-table associations for Institution Table, as showing in the following figure.
2. Set Self-Looping Column for Institution Table, as shown in the following figure.
Component Creation
1. Create an analysis subject in My Analysis, add the three data tables uploaded in Public Data, and create table associations in Model View, as shown in the following figure.
2. Add a component named User Permission Table and create a detail table, as shown in the following figure.
3. Add another component named Business Transaction Table and create a detail table, as shown in the following figure.
Filter Component Adding
Add a dashboard, drag the two prepared detail tables to the dashboard, adjust the components, add a Drop-down Tree Filter Component, click Institution Table in All Fields, drag the relevant fields to Field, and rename Drop-Down Tree to Bank, as shown in the following figure.
Click OK. You can view the hierarchical relationship between the headquarter, branch offices, and sub-branch offices and filter the needed data.

Effect Display
The effect is same with section "Application Scenario."