You are viewing FineBI 7.X help doc. You can click to jump to FineBI 6.X help doc.

Model Management Overview

  • Last update:August 29, 2025
  • Overview

    Version

    FineBI VersionFunctional Change

    7.0.2

    • Added Add Model View, allowing you to add resources and establish associations in model views created in folders.

    • Optimized the interaction and display effects of associations across resources.

    Application Scenario

    Model Management allows you to create associations across multiple tables in Data Directory, making it easier for you (the IT personnel) to use the corresponding indicator and dimension fields. After the core fields are published, you can use them directly, which ensures consistent data caliber of key indicators and allows you to adjust the analysis granularity as needed, thereby improving product performance.

    Function Description

    In Model Management, you can add data resources, establish associations across the resources, and manage the existing associations.

    In Indicator Management and Dimension Management, you can create cross-table fields using multiple associated tables.

    In Indicator Center, you can click Model Management to enter the page. You can click the Sales Data folder to view the model views within the folder, as shown in the following figure.

    1.png

    Preparation

    1. The admin assigns you (the IT personnel) the Use permission on Indicator Center and all the permissions on Supermarket Sales Data in Data Directory.

    2. The admin has added the required data tables, on which you have been assigned permission, to the Supermarket Sales Data folder in Data Directory for data model creation.

    3.png

    Data Mode Selection

    Enter the Model Management editing page and select the corresponding mode of the data to be edited. You can select Extraction or Direct Connection, as shown in the following figure.

    After selecting the data mode, you can select only the corresponding data. For example, if you select Extraction, directly connected data is not displayed in the data model.

    4.png

    Resource Adding

    Creating a Folder

    First, create a folder and name it Sales Data to store the data to be analyzed, as shown in the following figure.

    5.png

    Adding a Model View

    Click Add Model View, select the data tables on which you have permissions in Data Directory, set Model View Name to Sales Data, and add the model view to the Sales Data folder, as shown in the following figure.

    6.png

    After adding the model view successfully, you can view the data in the Sales Data folder in Resource List, as shown in the following figure.

    7.png

    iconNote:
    You can click Add Resource to continue adding tables to the model view.

    Association Creation

    Select Product Information Dimension, click the xxx icon, and drag the arrow to Product Sales Detail to create an association, as shown in the following figure.

    动图1.gif

    You can edit the association, as shown in the following figure. The following table describes the functional logic of association editing in detail.

    8.png

    No.
    FunctionDescription

    1

    Association Field

    You can set/modify the association field (key) of an association between two tables.

    If two tables contain two fields with identical names and data types, the system will automatically establish an association between the two tables based on the two fields.

    For details, see Subject Model Merging Principle.

    2

    Add Multiple Association Fields

    You can click Add Multiple Association Fields and add multiple association fields to form composite primary keys. That is, an association between two tables can be based on multiple association fields.

    The logic of the association with multiple association fields is as follows:

    • The 1 and N ends of composite primary keys are determined based on multiple fields.

    • That is, when you set the association to a 1:N relationship based on the Customer ID and Registration Time fields, the system will validate the 1 and N ends by concatenating the two fields. All other rules follow the same logic as the association with a single association field.

    3

    Association

    The system will automatically select the most suitable association based on your data. However, to avoid potential performance issues caused by the automatically selected association, you are advised to select the correct association manually.
    • 1: 1: This can be analogized to the relationship between citizens and their ID numbers.        Each citizen has only one ID number.

    • 1: N: This can be analogized to the relationship between provinces and cities. Each province contains N cities.

    • N: 1: This can be analogized to the relationship between provinces and cities. Multiple cities belong to a province.

    • N: N: This can be analogized to the relationship between students and courses. A student can select multiple courses, and each course can also be taken by multiple students.

    Since the Store ID field in Product Information Dimension Table is a unique field, the 1: N   relationship is typically established between Product Information Dimension and Product Sales Details.

    4

    Analysis Direction

    You are advised to set the analysis direction to be from the dimension table to the fact table.

    The default analysis direction is from the 1-end table to the N-end table. The analysis includes operations such as summarizing data by group, filtering, and linkages. That is, you can filter the data in the N-end table based on the 1-end table.

    • When you set a 1: N relationship, the default analysis direction is from the 1-end table to the N-end table. You can set the analysis direction to be bidirectional, from the 1-end table to the N-end table, or from the N-end table to the 1-end table.

    • When you set a 1: 1 relationship, Analysis Direction is set to Bidirectional by default. You cannot modify the analysis direction.

    • When you set an N: N relationship, Analysis Direction is set to Bidirectional by default. You can set the analysis direction to be bidirectional, from table A to table B, or from table B to table A.

    5

    Enable Association

    You can enable or disable the association as needed.

    6

    Delete Association

    You can click Delete Association to delete an association between two tables.

    Notes:

    • You can configure multiple paths, but the paths cannot take effect at the same time. You can specify which path will take effect.

    • You cannot set an association between the same table.

    • Since associations with the N: N relationship can cause severe performance degradation, you should avoid using such associations.

    • You cannot establish associations between direct-connected data and extracted data.

    Cross-Folder Association Adding

    Select a folder, select a model view in the folder, click the icon, and click Add Association to create an association between tables across folders. On the Edit Association page, select the tables and association fields from the corresponding folders and tables to establish an association, as shown in the following figure.

    9.png

    The following figure shows the effect of the established cross-table association.

    10.png

    Model Management

    Displaying/Hiding the Association Attribute

    Display Association Attribute is selected by default. You can deselect it to hide the associations, as shown in the following figure.

    11.png

    Viewing the Global View

    You can click Global View in the upper right corner to view all resources and their associations in Model Management, as shown in the following figure.

    12.png

    附件列表


    主题: Indicator Center Creation
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy