反馈已提交
网络繁忙
Filtering is an essential part of analyzing data.
This article introduces many ways to filter the data in charts and tables. It also introduces how to display interactive filters in the component, and set the filter condition format in the chart.
There are four types of filtering when making dashboards:
Filter component, detail filter, filter in analysis area, and result filter.
Seq
Filter type
Description
1
Filter component
First filter out the unnecessary data in the "raw data", and then use only the necessary data for dashboard calculations.
2
Detail filter of area to be analyze
3
Chart:
chart attribute filter in the analysis area
field filter in the analysis area
table:
table header filter in the analysis area
Filter the calculated data (summary result) and display the required data.
4
Result filter
Filter components can be used in the following situations:
The filter component can be used to achieve interactive filtering of other components, and the filter component can be used when the component that needs to be filtered can be "dynamically changed".
Multiple components need to be filtered at the same time.
The original data needs to be filtered.
When we want to filter the "inventory", "entry", "discharge" and "warehouse storage" result of "Category 1", we can add a filter component on category, and check 1 in the filter to get the result dashboard.
Note: Only the indicator field supports filtering.
The detail filtering of the area to be analyzed can be used in the following cases:
For the setting of a single field in the component, it is necessary to filter out part of the original data content in a certain field.
When the user only needs a part of the original data of the data table to make a dashboard, he can use the detail filter in the component editing interface to filter out this part of the data, and the excluded data will not participate in the calculation.
Note: Of course, if you want to filter data in the data table, you can also use self-service data set filtering.
When we want to calculate the unit cost of only the product type "appliance", we need first filter the original data, and select the "cost" and "quantity" of only the product type "appliance".
First we filter on "cost", the condition is [PRODUCTTYPE in fixed value Appliance].
Then we do the same to the "quantity" field.
Then you can calculate the unit cost. Create a calculation field, and enter the formula, as shown in the following figure:
Detail filtering In the two cases: "multi-indicator detail filtering" and "multiple fields set detail filter on the same field", the value that does not meet the filtering conditions is displayed as empty, but the entire row will be retained.
Analysis area filtering can be selected in the following situations:
For example, if we want to filter on the calculated unit cost (using aggregation functions), and retain only those with unit cost greater than 5.
Click on the drop-down list of the unit cost field in the analysis area, select filter and set conditions.
And you will get the filter result.
Result filters can be used in the following situations:
Need to use a certain field to filter but do not want to display the field in the chart or table component, and need to filter the results of the data calculated.
Take the example in 2.3, if we want to retain only the data of "Appliance" product type, we may use the result filter. Drag the field "PRODUCTTYPE" into the result filter, and add a condition:
When there are multiple "filter conditions", the filtering results are taken as the intersection.
When there are multiple filtering functions at the same time, first perform "filter component filter" and "detailed filter", and the filter results are intersected; then perform "result filter" filtering and "analysis area filtering", and the filter results are also intersected.
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭