You can use the query control to search and display the desired chart data on the dashboard. It supports searching for fields of date, text, and numeric types.
A dashboard has been created by referring to Creating a Dashboard.
to create a query control.
to create a query condition.Parameter | Description |
|---|---|
Query Condition | Query condition name, which is displayed in the upper left corner of the control. |
Condition Configuration | Set related parameters based on Table 2. |
Associated Charts | Charts associated with the query condition. |
Cascading Controls | When you set Display Type to Dropdown list, filtered data is displayed in this area. To use the cascading feature of the query control, you need to establish a relationship between query condition A and query condition B. For example, if you select a province in query condition A, the city list in query condition B will only show the cities under the selected province. This requires configuring the association between query condition A and query condition B. |
Parameter | Description |
|---|---|
Set as Mandatory | If you select this parameter ( NOTE: Condition A is marked with an asterisk (*) and is required, while condition B is optional and not marked with an asterisk (*). When querying a table, if condition A is not set and you try to set condition B by clicking Query button in the lower right corner of the control, condition A will turn red and data filtering will not be possible. To avoid errors, you must set condition A first, then set condition B before clicking Query. This will display the query results in the associated chart. |
Display Type | Filter criteria support the following display types: dropdown list, text condition box, numeric condition box, numeric range selection, date selection, time condition box, time range selection, condition radio button, and column selector. NOTE: A placeholder is added for selecting a time range. You can select a parameter of the range type. |
Value Source | Two methods are supported: automatic parsing and manual input. This parameter is available only when Display Type is set to Dropdown list. |
Dataset Fields | When Display Type is Dropdown list, the fields need to be associated with the dataset fields. |
Query Mode | The query mode can be single-select or multi-select. This parameter is available only when Display Type is set to Dropdown list. |
Query Time | Click query time. This parameter is available only when Display Type is set to Dropdown list. NOTE: Once the dataset fields are configured, you can then set default filter values, filtering, sorting, and enhanced search functions. |
Default Prompt Text | Default text in the condition configuration box. |
Set Default Filter Value | Default filter value for the text, which can be exact match, contains, does not contain, does not match, start with, empty, or not empty. For numeric range selectors, only a range of numbers can be set. For date selectors, both absolute and relative time can be set. |
Filter Effect | This parameter is supported only when Display Type is set to Numeric condition box or Numeric range. There are two formats: Before aggregation and After aggregation. |
Formatted Display | This parameter is supported only when Display Type is set to Numeric condition box or Numeric range. The default value is Automatic. |
Date Type | This parameter can be set only when Display Type is set to Date. The options are Year, Quarter, Month, Week, and Day. |
Time Type | This parameter can be set when Display Type is set to Time and Time Range is set to Year, Quarter, Month, Week, Day, Hour, Minute, or Second. |
Condition Operator | This parameter can be set only when Display Type is set to Time. The options are <, ≤, >, ≥, and =. |
Field Type | This parameter can be set when Display Type is set to Condition radio button. The value can be a numeric or text. |
Filter Criteria | This parameter can be set when Display Type is set to Condition radio button. It can be set to <, ≤, >, ≥, =, or ≠ for numeric, and Exact match, Contains, Does not contain, Does not match, Start with, Empty, or Not empty for text. |
Parameter | Description |
|---|---|
Card Title | Cards can be configured with or without a title. If a title is set, it will be displayed in the top left corner of the card. If the checkbox is not selected ( If the checkbox is selected ( |
Text | You can adjust the font size and color of the text. To change the font size, you can either type in the desired size or use the |
Alignment | You can align the text in the card to the left or center. |
Bottom Margin | The bottom margin of the card title can be set from 0 to 32. |
Divider | Cards can be configured with or without a divider line. If the checkbox is not selected ( If the checkbox is selected ( |
Card Background | Cards can be configured with or without a background. If the checkbox is not selected ( If the checkbox is selected ( |
Status Icon | You can customize the display style and color of the icon, which can be set to always show or show on hover. The card icon can be set to have a status or no status. If the checkbox is not selected ( If the checkbox is selected ( |
Button Settings | Button Display: The buttons can display the following options: search, clear, and reset. You can select which buttons to display by checking the |
Button Position: The button position can be either fixed in the bottom right corner or below the control. | |
Button Spacing: You can set the spacing between buttons by inputting values or using the | |
Main Button Color: Set the color of the main button. | |
Main Button Border Color: Set the border color of the main button. | |
Main Button Text Color: Set the text color of the main button. | |
Control Appearance | Control Spacing: You can set the spacing between controls by inputting values or using the |
Control Rounded Corners: You can set the corner radius of the controls by inputting values or using the | |
Field Label: You can set the position of the field label to either the left or top of the control. | |
Control Stroke: You can also customize the border color of the control by checking the corresponding checkbox. If the checkbox is selected ( | |
Control Filling: The control supports both colored and uncolored fill settings. If the checkbox is not selected ( | |
Function Settings | Display the expand/collapse button: It can be set to default expand or default collapse. |
User-defined filter item query template: After selecting the custom filter item template and publishing the report, the template can be added to the query control in view mode. This feature can be set by selecting or not selecting the checkbox. Selecting it ( | |
Default Query: After selecting it, the default value configured by the user will be queried by default. |
The differences between Save and Save and Publish are as follows:
You can quickly query data in tables on a dashboard using a query control and implementing secondary filtering through cascading controls.
to create a query control.
to create a query condition.Figure 1 Query control settings


in the upper right corner of the query control.Figure 2 Configuring a cascading control

Figure 3 Cascading control effect

Figure 4 Query results
