Field configuration

Updated at:

On the dataset editor page, you can configure fields, create new folders, and filter data to further refine your dataset.

Configure fields

After you build a model, Quick BI automatically previews the data and parses it to identify dimension and measure fields for data analysis.

You can edit field names, field types, and default display formats for numeric or date values.

Configuration entry points

  • In the Field Outline section, hover over a field and click ① to configure it.

  • In the Data Preview section, click ② to configure the field.

image

  • The Field Details section displays basic information about the fields. From here, you can batch configure fields.

    image

Features

Actions

Description

Edit field information

Modify the display name and description for a dimension or measure.

  • Original field name: The current display name of the field.

  • Field description: An explanation for a field. This can be in Text or Link format.

    • Select Text format to enter a description.

    • For Link format, you can configure the Link text and Link address.image

      Once configured, you can click the icon next to the field in charts that use this dataset to navigate to the specified link.

      image

      Note

      Field descriptions from a dataset are synchronized to dashboard charts only if the Automatically synchronize dataset field descriptions to reports option is selected in the workspace sync settings.

      With this option enabled, you can also select Only synchronize the part of field notes that are links . In this case, only link-based field descriptions are synchronized to dashboard charts, while text-only descriptions are ignored. If you need to display specific text-only descriptions, you must add them manually in the dashboard.

      image

Edit calculation formula

You can edit the calculation formula for a newly created calculated field.

Note

Only a new calculated field supports editing the calculation formula.

Switch field type

You can set the field type to Text, Date, Geography, Number, or Image. You can also convert a dimension to a measure, or a measure to a dimension.

Note

If a calculated field contains a level of detail (LOD) function:

  • If the calculated field is a numeric type, you can switch it between a numeric measure and a numeric dimension.

  • If the calculated field is a text type, you can switch it between a text measure and a text dimension.

  • If the calculated field is a date type, you cannot change its field type.

image

  • For date fields, you can configure the source data format.

    For example, if your source data format is 20210101, select YYYYMMDD. This ensures the data is parsed correctly when you change the field type.

    To change the display format of a date field, use the Display Format Settings.

  • If a field contains geographic data, such as a province or city, and you plan to use it in map charts, select the corresponding geographic granularity and set its type to Geography.

  • Image

    • Image (URL link)

      If a field contains image URLs and you want to display the images in a crosstab, leaderboard, or card, set the field type to Image.

      Note

      Image URLs must start with HTTPS. HTTP is not supported.

    • Image (file upload)

      Setting the field type to Image (file upload) automatically converts the image files into a displayable format for use in datasets and reports.

      For more information, see Image upload.

Default aggregation

You can only configure the default aggregation for measure fields.

The aggregation method configured here is used by default in dashboards.

image

Display format settings

  • Date display format

    Date fields support date display formats. For each date granularity, you can configure a default date display format.

    • Day granularity

      • YYYY-MM-DD (e.g., 2020-01-06)

      • YYYYMMDD (e.g., 20200106)

      • YYYY/MM/DD (e.g., 2020/01/06)

      • YYYY-MM-DD (Example: 2020-01-06)

      • Chinese YYYY year M month D day (e.g., January 6, 2020)

      • MMDD (e.g., 0106)

      • MM-DD (e.g., 01-06)

      • MM/DD (e.g., 01/06)

      • M/D (e.g., 1/6)

      • DDMMYYYY (e.g., 06012020)

      • MM/DD/YYYY (e.g., 01/06/2020)

    • Week granularity

      • YYYY-WW (week, e.g., 2020-02)

      • YYYYMMDD~YYYYMMDD (e.g., 20200106~20200112)

      • YYYY/MM/DD~YYYY/MM/DD (e.g., 2020/01/06~2020/01/12)

      • YYYY-Week W (MMDD~MMDD) (e.g., 2020-Week 02 (0106~0112))

      • Week W of YYYY (Example: Week 2 of 2020)

      • MM/DD~MM/DD (e.g., 01/06~01/12)

      • MMDD~MMDD (e.g., 0106~0112)

    • Month granularity

      • YYYY-MM (e.g., 2020-01)

      • YYYYMM (e.g., 202001)

      • YYYY/MM (e.g., 2020/01)

      • YYYY-MM (e.g., 2020-01)

      • Chinese: Month YYYY (e.g., January 2020)

      • Month M (for example: January)

    • Quarter granularity

      • YYYY-Q quarter (Example: 2020-01 quarter)

      • YYYYQ (e.g., 2020Q1)

      • YYYY QQ (e.g., 2020 Q1)

      • Quarter Q, YYYY (For example: Quarter 1, 2020)

      • FYYYY-Q (e.g., FY2020-Q1)

      • Fiscal Year YYYY Q (e.g., Fiscal Year 2020 Q1)

      • Fiscal Year YYYY, Quarter Q (For example: Fiscal Year 2020, First Quarter)

    • Year granularity

      • YYYY (e.g., 2020)

      • YYYY (e.g., 2020)

      • Year (YYYY) in Chinese characters (Example: 2020)

      • FYYYY (e.g., FY2020)

      • YYYY fiscal year (e.g., 2020 fiscal year)

  • Null value display style

    For dimension fields, you can set the display style for a null value or an empty string.

    • Null value:

    • Empty string:

Note

The custom text for null values can include Chinese characters, English letters, numbers, and the following symbols: _, /, \, |, (), and []. The text cannot exceed 150 characters.

  • Numeric display format

    For measure fields, you can set the numeric display format.

    • Auto

    • Integer

    • 1 decimal place

    • 2 decimal places

    • Percentage

    • Percentage with 1 decimal place

    • Percentage with 2 decimal places

    • Custom

      Allows you to customize the data display format as a number, a percentage, or through manual input.

      image

Date attributes

Date fields support both the calendar year and fiscal year.

To customize the fiscal year, select Fiscal Year and choose a starting month under Fiscal year starts in.

  • Fiscal year starts in

    You can select the month in which your fiscal year begins, based on your business requirements.

    image

    Note
    • For example, if you set Fiscal year starts in to April, the period from April 1, 2023, to March 31, 2024, is considered FY24. The calculation logic for period-over-period comparisons will differ from the calendar year. For more information, see Period-over-period comparisons.

    • The fiscal year number corresponds to the calendar year in which it ends.

      • If the fiscal year starts in January: January 2024 to December 2024 is fiscal year 2024 (FY24).

      • If the fiscal year starts in February: February 2024 to January 2025 is fiscal year 2025 (FY25).

  • Week starts on

    Note

    For a list of data sources that support a custom start of the week, see Data source advanced feature support.

    You can select the day on which your week begins, based on your business requirements.

    imageClick Register Functions to automatically register the required date functions.image

    • If you set a custom start day for the week, you must click Register Functions. If registration fails, download the function script and run it on the corresponding data source.

    • If you do not have write permissions for the database, you cannot use the automatic Register Functions feature. You can manually download the function script and run it on the corresponding data source.

    • Data sources such as MaxCompute, Presto, Hive, and Apache Doris do not support automatic registration. You must manually download the function script and run it on the corresponding data source.

Sync date granularity

This applies only to date fields.

If you accidentally delete some date granularity fields, click Sync Date Granularity. The system automatically restores the full set of date granularity fields from the source data to the dataset.

Sort

Set the default sort order to No Sort, Ascending, Descending, or Custom.

The sort order configured here is used by default in dashboards.

Geographic data matching

You can configure Geographic data matching when the field type is Geography and the granularity is continent, country, region, province / municipality, city, or district / county.

Note

This feature maps geographic fields in your dataset to the system's standard location names for use in map charts. Automatic matching occurs when your location names follow standard conventions. Manual mapping is required for non-standard or unrecognized names to ensure data is plotted correctly.

image

  • From the original data column's dropdown list, you can select a geographic value to manually match to a standard location. For example, you can match "Shanghai" to "Shanghai (Asia/China/East China)".image

    Note

    You can only match values to standard geographic names at the currently selected granularity for the field.

    image

  • Click the image icon in the upper-right corner to add more geographic data configurations.image

  • Click Batch Add, enter the geographic data, and then click Identify and Add to perform a batch add.

    Note

    Enter one value per line, up to a maximum of 200. Duplicates and already added values are automatically filtered out during recognition.

    image

  • Click the image icon to the right of the matched location to filter for unmatched data or matched data.

    image

  • Click the image icon on the right to delete a specific match.image

    You can also select multiple matches to perform a batch delete.

    image

  • Click Save to complete the geographic data matching configuration.

Important
  • Caution: If you switch the field type after completing the configuration, all your configured Geographic data matching information will be deleted.

  • If multiple values are mapped to the same region, the geographic values are not merged. For example, if you manually map "Guangdong" to Guangdong Province and your data also contains "Guangdong Province," which is automatically mapped, these values are not consolidated. When displayed on a map, only one of the data points will be shown. If you want to merge these values, you can use the Add Dimension Value Alias feature to normalize the values into a single value beforehand.

Create new

  • New calculated field

    Create a calculated field when your analysis requires data that is processed or derived from existing fields. For more information, see Create a calculated field.

  • New dimension group

    A dimension group categorizes dimension values. For example, you can group an age field into categories like "underage," "youth," "middle-aged," and "elderly" to view vaccination rates for each age group. For more information, see Dimension group.

  • New hierarchy

    Only dimension fields support creating a hierarchy.

    A hierarchy groups related dimension fields. This structure enables automatic drill-down paths in a dashboard. For more information about drill-down operations, see Drill-down.

Duplicate

Quickly duplicates a field. The new field is automatically labeled as a copy.

Move to

Quickly moves a dimension into an existing hierarchy or folder.

Convert to aggregated/non-aggregated

A new calculated field of the measure type can be converted to aggregated or non-aggregated.

  • When converted to non-aggregated, the field is aggregated using a default function (such as SUM) and calculated based on the dimensions specified in the report.

  • When converted to aggregated, you cannot specify an aggregation method for the field in a report, meaning no additional aggregation function will be applied.

Note

This conversion is only supported for new calculated fields that are measures.

Delete

Deletes a field.

To restore a deleted field, click the table on the canvas and add the field back from the right-side panel.

Hide

In the field list or data preview area, hover over a field and click the image icon to hide it.

image

After a field is hidden, it is not available when you use this dataset for analysis in tools like dashboards and spreadsheets. To show the field again, click the image icon in the field list to unhide it.

image

You can choose whether to display hidden fields on the dataset editor page:

  • By default, hidden fields are not displayed in the data preview.

  • To display hidden fields, adjust the visibility setting for the data preview.

    image

Drag and drop to reorder fields

You can drag one or more fields to reorder them or move them into another folder.

Untitled

Note
  • You cannot multi-select a hierarchy, including a date hierarchy.

  • You cannot multi-select and drag individual fields within a date hierarchy.

Notes

If a field is used in a calculated field, a dimension group, or a filter condition, you cannot change its field type, convert it between a dimension and a measure, or delete it.

Batch configure fields

If you need to edit many fields, you can configure them in bulk.

  1. On the dataset editor page, click Field details.

  2. You can select multiple fields and modify their configuration at the bottom of the page.image

    Parameter

    Description

    Null value display style

    Supports setting the null value display style for multiple fields at once.

    Convert to measure/Convert to dimension

    If all selected fields are dimensions, you can convert them to measures in bulk.

    If all selected fields are measures, you can convert them to dimensions in bulk.

    Hide and unhide

    Supports hiding or unhiding fields in bulk.

    Delete

    Supports deleting fields in bulk.

    Use description as field name

    Supports using the description as the field name in bulk.

Create a new folder

You can create new folders for dimensions and measures by following the steps shown in the figure.

image