[英]average of calculated rank in tableau
I would like to calculate the average of calculated rank for each competitor variable. 我想计算每个竞争对手变量的平均排名。 I have trouble finding a solution as calculated rank is aggregated value.
我无法找到解决方案,因为计算出的排名是合计值。 Can anyone help me with this?
谁能帮我这个?
It is the 2015_06 packaged file, and see "sheet 7". 它是2015_06打包文件,请参见“第7页”。
https://drive.google.com/open?id=0B1PGq-fzDlKcWi03emxrQm1wdWs https://drive.google.com/open?id=0B1PGq-fzDlKcWi03emxrQm1wdWs
I had a look at your workbook. 我看了看你的工作簿。 You need to do a change to your calculated field but then you can do it fairly easily with the table calculations.
您需要对计算字段进行更改,但随后可以通过表计算轻松地进行更改。
Change the field Prem Rank
to Rank(sum([Premium]),'asc')
Right click on it in the Marks section and make sure that "Compute Using" is set to "Table (Down)" 将字段
Prem Rank
更改为Rank(sum([Premium]),'asc')
在Marks部分中右键单击它,并确保将“ Compute Using”设置为“ Table(Down)”
WINDOW_AVG([Prem Rank])
(I called it WINDOW_AVG([Prem Rank])
). WINDOW_AVG([Prem Rank])
创建一个计算字段(我称它为WINDOW_AVG([Prem Rank])
)。 The result will be a table like this: 结果将是一个这样的表:
I think that is what you are after? 我认为那是你所追求的?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.