All Products
Search
Document Center

Quick BI:Metric Relationship Chart

Last Updated:Apr 21, 2025

A metric relationship chart displays the relationships between a group of metrics and is commonly used in DuPont analysis models. This topic describes how to add data and configure styles for metric relationship charts.

Prerequisites

You have created a dashboard. For more information, see Create a Bashboard.

Chart overview

  • Scenarios

    Used for DuPont analysis models to break down and analyze metrics.

  • Advantages

    • Calculation capabilities: Supports advanced calculations, period-over-period comparisons, and conditional formatting.

  • Sample chartimage

Chart field configuration

  • Data panel

    1. On the Fields tab, select the required dimension fields and measure fields:

      • In the measure list, find Profit Amount, and double-click or drag it to the Top Metric/Measure section.

      • In the measure list, find Order Amount, Shipping Cost, Cost, Other Costs, Order Quantity, Unit Price, and Discount Point, and double-click or drag them to the Breakdown Metrics/Measures section.

    2. Click Edit Metric Breakdown Relationship to enter the configuration.

      1. Enter expressions in the Branch Expression field to generate the chart in real time.image

        You can break down multiple metrics by clicking the field that you want to break down and entering an expression. For example, click Order Amount and enter [Order Quantity]×[Unit Price]×[Discount Point] to break down the Order Amount metric.image

        Note

        You can enter @ to quickly add metrics. The keyboard supports "+", "-", "×", "/", and "( )".

        Example: Sales Performance = Customer Unit Price × Number of Buyers

      2. Click Save and Exit. The system automatically updates the chart.

        image.png

    3. In the dimension list, find the Order Date (year) field, and double-click or drag it to the Comparison Date/Dimension section to generate period-over-period comparisons.

      image.png

      1. You can select Latest Date Data or Stage Summary Data as the default value for metrics.image.png

      2. After updating the data, you can go to the Advanced tab to configure period-over-period comparison details.

    4. Click Update. The system automatically updates the chart.

    5. (Optional) If you only want to view data for specific cities, you can set a Filter to filter the required data.image

    6. Auto Refresh

      After you select Auto Refresh, the system automatically refreshes the chart at a specified time interval. For example, if you select Auto Refresh, enter 5, and then select min, the system automatically refreshes chart data every 5 minutes.

Chart style configuration

The following section describes the style configuration for metric relationship charts. For information about common chart style configurations, see Configure the Chart Title.

  • In the Metric Block Style section, configure Display Direction and Default Expansion.1指标关系

    Configuration item

    Description

    Display Direction

    Supports Portrait and Landscape.

    Default Expansion

    Supports Expand All, Collapse All, and Expand to Level N, where N is your current relationship level.

  • In the Metric Content section, you can configure the text styles for Name and Value.image

  • In the Series Settings section, configure Select Series and Prefix and Suffix for Metric Values.image

    Configuration item

    Description

    Select Series

    Set the measure items added to the Top Metric/Measure area and Top Breakdown Metrics/Measures.

    Prefix and Suffix for Metric Values

    The prefix and suffix for the metric values in the chart.

  • In the Conditional Formatting section, configure conditional formatting for fields.

    image

    Configuration item

    Description

    Select a field

    Select the measure field for which you want to configure conditional formatting. You can select any measure item that is added to the Metric/Measure area.

    After the style configuration is complete, if you no longer need to use some of the configured conditional formatting, you can click Batch Purge Format in the lower-right corner of the field panel, select the conditional formatting that you want to clear from the list, and then click OK to complete the format clearing.image

    Quick Style

    Set the mark icon or font display color for the current measure field from the styles provided by the system.image

    • Comparison: Supports Compare with 0 and Compare with Average.112

    • Flip Colors: For example, when comparing with 0, values less than 0 are red and values greater than 0 are green. After flipping, values less than 0 are green and values greater than 0 are red.112

    • Clear: When you no longer need to use a quick style that has been set, click Clear to remove the style.112

    Custom Style

    In addition to the quick styles provided by the system, you can also configure custom styles for the current measure field as needed.

    • TextimageOn the Text tab, set the condition rules for displaying the text of the current measure field in a highlight color. You can configure condition rules for the current field based on the values of other fields.

    • IconimageOn the Icon tab, set the icon marking rules for the current measure field. You can configure marking rules for the current field based on the values of other fields.

    Sync Style To

    Replicate the conditional formatting settings of a measure to other measures.

Chart analysis configuration

Data interaction

Configuration item

Description

Hyperlink icon

Hyperlinks include three methods: product parameter hyperlinks, in-page widgets, and external links, and support the configuration of hyperlink icons.

For specific settings, see Hyperlink icon.

image.png

Secondary metrics

When Secondary Metrics display is enabled, the following configurations are supported.

image

Configuration item

Description

Comparison Metric Selection

Select the measure field for which you want to configure secondary metric comparison.

Secondary Metric Content

Configure the specific content for secondary metric comparison. The system will automatically generate corresponding period-over-period comparison options based on the date field granularity you configured in Date/Dimension. For example, when the date field type is day, it supports day-to-day comparison, week-on-week comparison, month-on-month comparison, etc. When no date field is configured in Date/Dimension, you need to customize and add secondary metric fields.

You can:

  • Click the check icon before an option to select the secondary metric content you want to display. You can configure up to 2 metrics.image

  • Click Add Field, and in the Add Field dialog box, customize the secondary metric content you want to compare and display, along with its Aggregation Method, Display Format, Conditional Formatting, and other information.image

  • Click the image icon to drag and sort the metrics to adjust the display order of metrics in the chart.

  • Click the image icon, and in the Secondary Metric Content Settings dialog box, adjust the Display Format, Conditional Formatting, and other information for the current metric.image

Sync Configuration to Other Comparison Metrics

Select the measure fields that need to use the current secondary metric configuration.

Set Secondary Metric Font Style

Supports configuring text styles for Name and Value.