反馈已提交
网络繁忙
For example, calculate the sum of the order amounts of different ship methods in every year.
Combine with other quick calculation functions to calculate the proportion within the group, the accumulated proportion within the group, and so on.
Use the TOTAL function.
The first parameter is the indicator calculated by the user, which must be an aggregate function or aggregate indicator.
Note: The third parameter supports SUM, AVG, MAX, MIN, and is not case sensitive.
1) Calculate the aggregate value of the "AMOUNT" of different ship methods in every year, for example, calculate the aggregate value of the amount in the group of year 2008, as shown in the following figure:
For the writing of functions, please refer to: Function Calculation Format.
Continue to calculate the "proportion within the group" to calculate the proportion of the amount of different ship methods in the same year: SUM_AGG(AMOUNT)/TOTAL(SUM_AGG(AMOUNT),1,"sum") , as shown in the following figure:
Formula description:
Calculate the "accumulated proportion within the group", enter the formula: ACC_SUM(SUM_AGG(AMOUNT),1)/TOTAL(SUM_AGG(AMOUNT),1,"sum"), as shown in the figure below:
If you calculate the summary value of the "AMOUNT" in the self-service dataset, you can add a column and select "All Values/Within the group" to set the sum of total amount, as shown in the figure below:
Since the data here is a calculation of detailed data, the result will not be changed due to dimensional changes. The results are as follows:
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭