Configure chart data

更新时间:
复制 MD 格式

To support flexible and diverse visual analysis, Quick BI separates data configuration from style settings. The data pane lets you quickly create new fields for a chart. This topic describes common chart operations on the dashboard editor page.

Chart data pane

image

Configure field styles in batches

To modify multiple fields efficiently, edit them in batches.image.png

Set data display format

You can set the display format for a measure. Supported formats include Auto, None (displays the original value), Integer, 1 Decimal Place, 2 Decimal Places, Percentage, Percentage (1 decimal place), Percentage (2 decimal places), and Custom.

image

Note

For more information about configuring display formats in Custom mode, see Custom Data Display Format.

Filter data

Filters narrow the data in your chart. For large datasets, use a filter to display only the necessary data, which makes your report more precise. You can filter data by text, numeric, and date fields.

Text fields

You can set a filter to filter out municipalities from the province field.

Example: Filter by province

  1. In the Filter pane, next to the Province field, click the 过滤 icon to set the filter range.image.png

  2. Configure the filter as needed.

    Parameter

    Description

    Example

    Filter method

    Supports Filter by Condition and Filter by Enumeration.

    Filter by Enumeration

    Condition type

    Supports Single Condition, OR Condition, and AND Condition.

    Note

    This option is available only when Filter method is set to Filter by Condition.

    Not applicable

    Query method

    Supports Single Select and Multi-select.

    Note

    This option is available only when Filter method is set to Filter by Enumeration.

    Not applicable

    Filter condition

    Set the filter conditions as needed.

    Dimension field:

    image.png

    Measure field:

    image.png

    Shanghai, Tianjin, Beijing, Chongqing

  3. When setting filter conditions, you can click Quick Input to manually enter field names.

    Alternatively, add the required field values from the list, as shown in the following figure.image.png

    The Field dialog box provides the following options:

    • Enter a keyword in the search box and click the keyword below to add the target field values from the left pane to the Added list on the right.

    • Click Add All Field Values from the Left to move all listed field values to the Added list.

    • Select the checkboxes next to the field values on the left to add them to the Added list on the right.

    • Click Exclude to exclude the field values in the Added list on the right.

    • Click Clear to remove all values from the Added list.

  4. After you finish the configuration, click OK.

  5. Click Update to apply the filter and redraw the chart.image.png

Numeric fields

You can set a filter range for numeric data. For example, you can set the order quantity range between 50,000 and 100,000. The chart then displays data within this range.

Example: Filter by order quantity

  1. In the Filter pane, next to the Order Quantity field, click the 过滤 icon to set the filter range.image.png

  2. Select a filter condition, such as greater than, less than, or equal to, as shown in the following figure. image.png

  3. After you finish the configuration, click OK.

  4. Click Update to apply the filter and redraw the chart.image.png

Date fields

You can set a filter to display data from a specific time period. For example, you can filter by order date to view the order quantity and profit from a specific period, such as February 2010.

Note

Date values can be specified down to the second.

Example: Filter by Order Date (month)

  1. In the Filter pane, next to the Order Date (month) field, click the 过滤 icon to set the filter range.image.png

  2. Configure the filter as needed.

    Parameter

    Description

    Example

    Filter method

    Supports Single Month and Month Range.

    Single Month

    Range type

    Supports Starts From, Ends At, and Time Range.

    Note

    This option is available only when Filter method is set to Month Range.

    Not applicable

    Filter condition

    You can set a Relative Time or an Exact Time.

    Exact Time

  3. After you finish the configuration, click OK.

  4. Click Update to apply the filter and redraw the chart.image.png

Refresh data on a schedule

When Auto-refresh is enabled, the chart data updates automatically. For example, if you set the refresh interval to 5 minutes, the chart data updates automatically every 5 minutes.image.png

Set data display results

This setting controls the number of rows displayed in the data preview.image.png

Create a calculated field

Note
  • A calculated field applies only to the current chart and is not saved to the dataset.

    It will not be available if you create a new chart, even one that uses the same dataset.

  • However, if you duplicate a chart, any calculated fields are also copied to the new chart.

image.png

For more information, see Create a calculated field.

Create a group dimension

Note
  • A group dimension applies only to the current chart and is not saved to the dataset.

    It will not be available if you create a new chart, even one that uses the same dataset.

  • However, if you duplicate a chart, any group dimensions are also copied to the new chart.

image.png

For more information, see Create a group dimension.

Create a placeholder

Click Create Placeholder to create a placeholder by manually entering a value.

image.png

For more information, see Placeholders.

Get time difference

This feature calculates the time difference between two date fields, returning the result as a number. The calculation counts only complete time units.

Note

Calculated fields are not supported.

image

For more information, see Get time difference.

Add a dimension value alias

Create a new alias for the values of a text field.

Note
  • Only text fields support adding dimension value aliases.

  • This feature is limited to fields with 50 or fewer unique values.

  • Calculated fields are not supported.

image

For more information, see Add a dimension value alias.

Replace missing values

Replace null values and empty strings with specified content.

Note

Calculated fields are not supported.

image

For more information, see Replace missing values.

Split a field

Split a text field into multiple fields based on a delimiter.

Note
  • Only text fields can be split.

  • Calculated fields are not supported.

image

For more information, see Split a field.

Merge fields

Merge multiple text fields into a single new field using a separator.

Note
  • You can merge up to 10 text fields.

  • Calculated fields are not supported.

imageFor more information, see Merge fields.

Copy to dimension

Note
  • The new dimension applies only to the current chart and is not saved to the dataset.

    It will not be available if you create a new chart, even one that uses the same dataset.

  • However, if you duplicate a chart, the new dimension is also copied to the new chart.

image.png

Edit a dataset

Click the image.png icon to open the dataset menu, which includes options such as Preview Data, Edit Dataset, and Replace Current Dataset.

image.png

Preview data

After you click Preview Data, you can preview All Datasets or Used Datasets. You can also click Create Dataset to go to the dataset creation page.

image.png

Edit dataset

Untitled.gif

For more information, see Edit a dataset.

Replace current dataset

If you want to replace a dataset and keep the field configuration, click the image.png icon and select Replace Current Dataset.

Untitled.gif

Switch a dataset

Click the dataset selector to switch between used datasets and all datasets. Note that this action clears the current field configuration.

image.png

Upload a local file

Create a chart by uploading a local file to use as a source table.image.png

Create a dataset

Click Create Dataset to open the creation page. For more information, see Create a dataset.

image.png