FAQ

Updated at:

This topic provides answers to frequently asked questions about dashboards.

Drill-down

Can I perform a batch drill-down?

No.

How do I enable drill-down for a field?

After you enable the drill-down feature, drag the dimension fields to the Data Panel in the order you want to drill down.

Can I dynamically configure which drill-down columns are displayed when a dashboard is embedded in a third-party application?

No. The dimensions available for drill-down are fixed and cannot be dynamically configured.

How can I set aliases for series values in the next drill-down level?

You can set the field name in the dataset.

Linkage

Can two charts be linked? For example, can clicking a segment in a pie chart update another chart?

Yes. See linkage.

Why is the advanced linkage feature available for some charts from the same dataset but not for others?

The linkage feature is not supported for charts that use a mixed row-and-column configuration.

Why do I see the message "Please set the dimension association and associate non-homologous fields" when configuring chart linkage?

When you link charts from different data sources, you must select the fields to associate them.

Can I configure linkage for a KPI card that has no dimensions?

No, you cannot configure linkage without a dimension. As a workaround, you can add a dimension to the filter to enable linkage configuration.

Can a dashboard handle events, such as making Chart B react when a user clicks Chart A?

Yes. See linkage.

Is three-level linkage supported?

No.

Jump

Where do I configure global parameters for the jump feature?

In a workspace, you must save the dashboard before you can configure global parameters.

  • On the top menu bar of the dashboard or spreadsheet editing page, configure global parameters.1

  • On the dashboard editing page, click the 设置 icon in the top menu bar, and configure global parameters in the Page Settings.2

Can query conditions accept external parameters?

No.

Can I jump between dashboards?

Yes. See jump.

Visual analysis

Can I map dimension values to different display values?

Scenario: For example, if the source data is 1 and 2, can I display them as "Male" for 1 and "Female" for 2?

Yes. You can create a calculated field that uses a case when statement to achieve this. For example, use the expression case when type=1 then 'Male' when type=2 then 'Female' end. For more information, see Create a calculated field.

Does a spreadsheet support sorting dates in descending order?

Yes. In the Data Panel, you can set the date field to display in descending order. For more information, see Sort data.

Are period-over-period comparisons limited to day-over-day, or are week-over-week and month-over-month comparisons also supported?

When you select a week or month field as the time dimension, you can choose the corresponding period-over-period comparison options. For more information, see Period-over-period comparison.

Can I display the Top N results?

Yes. Click the sort button next to the field, and then set the Preview Row Count as needed. For example, to display the Top 10, sort the measure in descending order and set the Preview Row Count to 10.3

How do I write a calculated measure to find the month difference between two dates?

Scenario: For example, how can I get a result of 1 month for the difference between 2019/8/5 and 2019/7/31?

You can use date functions specific to your database. For instance, in an ODPS database, you can use the datediff function. The specific function depends on the database you are using.

Can a time dimension value be displayed in the "yyyy-mm-dd hh:mi:ss" format?

If you need to display the date and time in a single field, you can convert the field to a text type.

Are row totals supported?

Only column totals are supported. Row totals are not supported.

Can I calculate grand totals?

Yes. In a crosstab, you can select Show Grand Total for Columns. For more information, see Legacy Crosstab

How do I configure period-over-period comparisons for a measure field?

In the Data Panel, hover over the measure field, select Period-over-period comparison, and choose an option based on your business needs. For more information, see Period-over-period comparison.

Can I configure period-over-period comparisons?

Period-over-period comparisons are supported only when the dataset contains a date-type field.

Why are my cloned start and end date fields showing null values?

If a date field is converted from a string, selecting an incorrect conversion format in the dataset will cause the data to display incorrectly. To resolve this, switch to the correct format.

Why does the dataset preview return a "query execution error"?

A calculated field expression can reference only original fields from the database, not other calculated fields. As a workaround, you can replace the reference with the expression of the other calculated field.

Can I customize the format of a date-type field without converting it to text?

Date-type fields use a fixed yyyymmdd format that you cannot change.

When adding a calculated field, why can't some dimension values be referenced?

You cannot use date-type fields in calculated fields.

Can a calculated field expression operate on a date-type dimension?

Expressions do not support direct references to date-type fields. You must first convert the date field to a text type.

Are there functions in calculated fields to convert a string to a date format?

Yes. You can right-click a field in the dataset and convert it directly to a date format.1

How do I convert a timestamp to a date?

For more information, see How do I convert a UNIX timestamp field to a standard date and time field?

After passing parameters by using ad-hoc analysis SQL, why is the period-over-period measure not displayed?

Scenario: After using ad-hoc analysis SQL to pass parameters and selecting data for the last 7 days, the week-over-week comparison is not displayed.

The time range in the ad-hoc analysis SQL is constrained by a WHERE clause. If you set a filter condition in the SQL, only the filtered data is retrieved. If you select data for only the last 7 days, there is no previous period to compare against. As a result, the week-over-week comparison cannot be displayed.

Can I directly calculate period-over-period comparisons on total data?

No.

If I need to filter by a time range in the ad-hoc analysis SQL parameters, do I need to set two parameters?

No. You only need to set one parameter. You can then specify a time range for that parameter in the query control.

Can I configure conditional formatting with two fields, a target and an actual, where one color is shown if the target is greater than the actual, and another color if it is less than or equal to the actual?

Yes. You can achieve this by creating a calculated field in the dataset. Use a case when statement with an expression like case when target_value > actual_value then 0 else 1 end. In the crosstab, add the target value, actual value, and the calculated field, then apply conditional formatting to the calculated field.

When converting a date, can "Week" be converted to the first day of the week?

Yes. Right-click the week field and select Edit. Set Week Type to Start on Monday.4

If I use an enumerated range in a composite query control and the field later adds new enumerations, do I need to manually add them to the enumerated range?

Yes.

How do I convert a time dimension to a measure?

You cannot directly convert a time-type field to a measure. You must first convert it to a text or numeric type.

When I run a period-over-period comparison, I get the error "Contrast query can only contain same level filter."

When you perform a period-over-period comparison with a query condition, the date dimension in the query condition must match the granularity of the dimension used for the comparison. For example, for a week-over-week comparison, you must filter by the Week field.

If the raw data includes an AGE field, how do I group results by age ranges?

  • If you use the Professional edition, you can create a group field to group different ranges.

  • If you use the Personal or Advanced edition, you can create a calculated field and use a case when statement to assign values.

For more information, see Create a calculated field.

If the raw data includes an AGE field, how do I group results by age ranges?

  • If you use the Professional edition, you can create a group field to group different ranges.

  • If you use the Personal or Advanced edition, you can create a calculated field and use a case when statement to assign values.

For more information, see Create a calculated field.

A new calculated field displays correctly in the dataset, but causes an error in a crosstab. Why?

The calculated field might be causing a division-by-zero error. Add a filter to exclude rows where the denominator is zero.

In a query control, why is October grayed out and unavailable when I set the end time?

You have set a time filter range that limits the maximum number of months that can be queried at once. October is outside this range. To select it, modify the time filter range.

How do I convert a district like Chaoyang in Beijing to the "City" level?

For a municipality, the province, city, and district levels are handled differently. The province and city levels are both the municipality itself, and the district level contains the municipality's districts and counties. For example, for Chaoyang District, Beijing, the province is Beijing, the city is also Beijing, and the district is Chaoyang District.

After I associate a query control with a chart, the chart returns empty results. Why?

Run the generated SQL directly in the database to verify whether it returns data. The most likely cause is that no data exists for the selected filter conditions.

Why can’t I configure period-over-period comparison for a measure field?

To calculate a period-over-period comparison, you must first select a date field for the dimension.

I want to add a date filter control and select dates from a calendar, rather than from the dataset. How do I do that?

In the query control date filter, select Relative Time. This option lets you select a time range relative to the current date, and it updates automatically.

How do I use the same field as both a dimension and a measure?

In the dataset, clone the field. Convert one copy to a dimension and the other to a measure. When you build the dashboard, select the dimension or measure based on your needs.

Can I perform a distinct count on a STRING type field?

Yes. Select Distinct Count as the aggregate function.

How do I display a time field as year-month-day hour-minute-second?

To display the year, month, day, hour, minute, and second in a single cell, you must format the field as text. If you also need to include milliseconds, create a new dimension and use a function to truncate the string to the required length.

Can I reference a calculated field in another calculated field?

No. A calculated field expression cannot reference other calculated fields; it can only reference original fields. As a workaround, you can use the expression from the previous calculated field instead.

Why is data still null in a chart after I remove the restrictive conditions from chart filters and query controls?

If some data in the chart is still null after you remove restrictions from filters in the field panel and from query controls, verify that the data exists in the source dataset.

Do Quick BI map components support displaying and analyzing overseas locations?

Quick BI map components support displaying geographic information for some overseas regions. The rules are as follows:

  1. Geographic granularity: Overseas regions can only be displayed at the country or latitude and longitude levels. You cannot use geographic fields below the country level (such as province or city) for overseas data. Your data source must contain country-level or latitude and longitude fields.

  2. Supported country maps: Quick BI provides country-level maps for China, Singapore, United States, Germany, Mexico, and Japan. Maps for other countries, such as Canada, are not supported.

  3. Workaround: If you need to display province-level data for both domestic and overseas regions, use latitude and longitude fields to render the map.

Common errors

Dashboard chart error: "WHERE clause cannot contain aggregations or window functions"

  • Description A dashboard chart returns the error: "WHERE clause cannot contain aggregations or window functions".

  • Cause The dashboard uses a composite query control, which does not support filtering aggregated calculated fields.

  • Solution

    1. Use a standard query control.

    2. Create a dataset with custom SQL and move the aggregation logic into the SQL.

Crosstab syntax error when using an LOD function

  • Description When you use an LOD function in a crosstab, you get the error: org.postgresql.util.PSQLException: ERROR: syntax error at or near "{" at position 79

  • Cause The LOD function has a casing issue.

  • Solution Check and correct the LOD function's casing.

Dashboard refresh error: "Cannot read properties of undefined (reading 'includes')"

  • Description When you refresh a dashboard, you get the error: Uncaught TypeError: Cannot read properties of undefined (reading 'includes')

  • Cause The data includes positive infinity (+∞) values, which prevents the chart from rendering.

  • Solution Filter out positive infinity values from the data.

Percentile aggregation error: "Unsupported type int64"

  • Description When you select Percentile as the aggregation method for a measure field, you get the error: errMsg:[NOX54000004] Datasource executes sql failed

  • Cause The source field is of type int64, which does not support percentile calculations.

  • Solution Change the measure field data type to float8.

Chart query error: "Decimal math overflow"

  • Description A chart query returns the error: "Decimal math overflow".

  • Cause A decimal overflow occurs during data conversion, typically due to calculated field conversion logic.

  • Solution Adjust the length of the converted field based on the error message, or contact database technical support by Submit a Ticket.

Detail table error: "Aggregations are not allowed in detail queries"

  • Description When you refresh a chart, you get the error: errMsg: Aggregations are not allowed in detail queries[NOX5300008]

  • Cause You used a new calculated field that contains an aggregate function in a detail table.

  • Solution Use a crosstab to display aggregated data.

Dashboard jump error: "AE0130010021 token-bound report does not match"

  • Description A dashboard jump returns the error: AE0130010021 The report bound to the token does not match the actual report

  • Cause Secondary jumps are not supported when you navigate to a dashboard by using a public link.

  • Solution Use WebTracking to collect front-end logs, which supports data permission control and parameter passing.

Chart query error: "Query a field that does not exist [NOX5200010]"

  • Description A chart query returns the error: errMsg: Query a field that does not exist[NOX5200010]

  • Cause The dimension or filter field configured in the chart has been deleted from the dataset.

  • Solution Check for references to the deleted fields in other components. Remove any invalid fields from filters and association relationships.