Dynamic Header in Data Analysis Mode

  • Last update:February 26, 2025
  • Overview

    Version

    Report Server Version

    Functional Change

    11.0

    /

    Expected Effect

    When there are detail columns and summary columns in the report, you want the report to initially display only the summary columns and display the detail columns after you click the button. The following figure shows the effect.

    预览.gif

    Implementation Method

    Use the tree node to achieve the effect, and preview the report in the Data Analysis mode.

    iconNote:
    The effect can only be displayed in the Data Analysis Preview mode.


    Example

    Data Preparation

    1. Create a general report, and create a database query ds1 with the SQL statement SELECT * FROM Sales_Volume.

    image 36.png

    Report Design

    1. Design the report cells as shown in the following figure. Set Expansion Direction of cells C1 and D1 to Horizontal, set Expansion Direction of cells A2 and B2 to Vertical, choose Summary > Sum in Data Setting of cell C2, and insert the formula sum(C2) in cell D2.

    image 37.png

    2. Set the left parent cell of cell C1 to cell D1.

    image 38.png

    Import Tree Node

    Select cell D1, click Widget Setting, select Button Widget, and select Tree Node as Button Type, as shown in the following figure.

    image 39.png

    Effect Display

    Save the report and click Pagination Preview. The effect is shown in section "Expected Effect."

    iconNote:
    The effect cannot be previewed on mobile terminals.


    Template Download

    For details, you can click to download template Dynamic Header in Data Analysis Mode.cpt.

    Attachment List


    Theme: Parameter
    • 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