反馈已提交
网络繁忙
Rank the profits of last year, for example, according to the "Last year profits" of each province in ascending order from small to large, as shown in the following figure:
Use the RANK_ANLS 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 "DESC" and "ASC", and is not case sensitive.
rank_anls(sum_agg(amount),0,"asc"): If the user drags the "province" on the horizontal axis, the calculation result of this indicator is that the sales are grouped and summarized according to the province, and then the ranking based on last year profits of each province is calculated in the ascending order among all provinces.
Sample data: "package>FRDemo_MAPDemo".
Add a new calculation indicator, named as "rankiing" field, and enter the formula:RANK_ANLS(SUM_AGG(AMOUNT),0,"asc"), as shown in the figure below:
For function writing, see Function calculation format.
Drag "province", "Last year profits" and "ranking" into the analysis area, and set the "Last year profits" in ascending order, as shown in the figure below:
See section 1.2 of this article for details.
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭