Displaying Comments Dynamically Based on Content Obtained by Filter

  • Last update:April 03, 2025
  • Overview

    Expected Effect

    You need to automatically generate comments for the most critical data results, making the results more intuitive, as shown in the following figure.

    If you select Philippines, the corresponding comment will be generated automatically, in which the top shop by sales in Philippines and the corresponding sales are displayed.

    动图1.gif

    You can also display statistical measures such as the mean, maximum value, minimum value, and percentage distribution within a specified timeframe or range.

    Implementation Method

    You can use Custom Chart to realize the effect and select Text in Graphic Property.

    Procedure

    Data Preparation

    1. Log in to the system as the admin, click My Analysis, select a folder, and click New Subject, as shown in the following figure.

    2.png

    2. Choose Local Excel > Upload Data, and upload the table data, as shown in the following figure.

    Sample data: Store Sales Data.xlsx

    3.png

    3. Click OK after the data is uploaded, as shown in the following figure.

    4.png

    Component Creation

    1. Click Component in the lower left corner, as shown in the following figure. (The added component is also referred to as the comment component in the following part.)

    5.png

    2. Select Custom Chart in Chart Type and select Text in Graphic Property, as shown in the following figure.

    6.png

    3. Drag the Store Name and Sales fields into the Text bar, as shown in the following figure.

    7.png

    In this case, all shops and the corresponding sales are displayed, but what you want is the top shop by sales and its sales.

    4. Filter the Sales field and obtain the top sales, as shown in the following figure.

    8.png

    9.png

    5. Add descriptive text.

    After filtering, only the top sales and the corresponding store are displayed. Edit the text, as shown in the following figure.

    10.png

    Enter the descriptive text and modify the colors of Shop Name and Sales to red, as shown in the following figure.

    11.png

    Dashboard Creation

    You can filter the Country field by Filter Component. In this case, the top shop by sales and the corresponding sales within the selected country can be displayed in the comment component.

    1. Create a dashboard and add the component to the dashboard, as shown in the following figure.

    12.png

    13.png

    2. Enter the dashboard and add the Text Drop-Down filter component, as shown in the following figure.

    14.png

    3. Drag the Country field from the comment component to the filter component and bind the field to the filter component to associate the filter component with the comment component, as shown in the following figure.

    15.png

    Table Adding

    In this example, the component with a table is not required and is only used as an auxiliary component to help verify generated comments.

    Add a component and set a table, as shown in the following figure.

    16.png

    17.png

    Effect Display

    Hide the title of the comment component and select a country. The following figure shows the effect.

    动图1.gif

    附件列表


    主题: Creating a Visual Component
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    9s后關閉

    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