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

Union All

  • Last update:July 08, 2026
  • Overview

    Version

    FineBI Version
    Functional Change

    7.0

    /

    Application Scenario

    If you perform Union All (same as that in SQL statements) on data tables, a union result set is generated.

    A company's order information may be stored separately in multiple branches for historical reasons, resulting in unsmooth information exchange. In this case, you can use the Union All function in FineBI to merge multiple data tables into one table, coordinating all order information.

    The Union All function allows you to manually match fields with the same meaning for merging, requiring no identical matching fields.

    The following figure shows the effect.

    1.jpeg

    Notes for Direct-Connected Data

    • Unlike extracted data, direct-connected data does not allow you to perform the Union All operation on two tables from different data sources.

    After merging, an error message "[DIRECT-ETL] unsupported data source: databases on different hosts/ports" will be displayed.

    Example

    You can download the sample data:Contract Table Sample.zip

    A company stores its data of New York, Chicago, and Los Angeles in three separate tables, causing inconvenience for analysis. You can use the Union All function to merge the tables.

    1. Create an analysis subject and upload the downloaded sample data.


    2. Click Union All to merge the fields of Contract Table-New York, Contract Table-Chicago, and Contract Table-Los Angeles.


    3. Select Contract Table-Chicago and Contract Table-Los Angeles as the tables to be merged with Contract Table-New York and click OK, as shown in the following figure.

    4. Go to the Union All configuration page. The system will automatically match fields with consistent names and consider fields with inconsistent names as different ones.


    5. In this example, the three fields Region, Contract Region, and Sales Region all represent regional information despite their different names. Manual adjustment is required.

    The same principle can be applied to Sum. You can click the dropdown icon, select the matched field, and rename the merge result Sum.

    Then the data of New York, Chicago, and Los Angeles is merged into one table, facilitating later analysis.

    Other Functions

    Selectable Fields for Merging

    When you add tables for union all, the system selects all fields in the tables to be merged by default. You can click the icon next to the table name to select specific fields and specify which ones to include or exclude from the Union All operation, as shown in the following figure.

    Renaming Post-Merge Result Fields

    Click the post-merge result field and rename it, as shown in the following figure.


    Editing Merge Tables

    Click Edit Merged Table to return to the table selection page, where you can re-select the tables to be merged, as shown in the following figure.

    附件列表


    主题: Adding and Editing Data
    Previous
    Next
    • 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