[英]How to create a field to return the position of an element in the table in Google Data Studio?
I'm trying to create a ranking, in order to return position 1, position 2, position 3 for example, but also naming the position of each element in this ranking.我正在尝试创建一个排名,例如为了返回 position 1、position 2、position 3,而且还命名了该排名中每个元素的 position。
Position Position | Name名称 | Pontuation标点符号 |
---|---|---|
1 1个 | João若昂 | 2000 2000 |
2 2个 | Victor胜利者 | 1950 1950 |
3 3个 | Matheus马修斯 | 1800 1800 |
With google data studio line numbering this would already be possible:使用 google data studio 行编号,这已经是可能的:
Name名称 | Pontuation标点符号 | |
---|---|---|
1. 1. | João若昂 | 2000 2000 |
2. 2. | Victor胜利者 | 1950 1950 |
3. 3. | Matheus马修斯 | 1800 1800 |
but when adding a filter to search for names and search for the name "Matheus" it would return as follows:但是当添加一个过滤器来搜索名称并搜索名称“Matheus”时,它将返回如下:
Name名称 | Pontuation标点符号 | |
---|---|---|
1. 1. | Matheus马修斯 | 1800 1800 |
And it would not bring with it its position in this ranking.而且它不会在这个排名中带来它的 position。 So, I would like to know how I could create a field that returns this position to create the ranking.所以,我想知道如何创建一个返回此 position 的字段来创建排名。
This can't be done in Google Data Studio because it doesn't store data and it doesn't offer a way to correlate lines as other BI tools may allow.这不能在 Google Data Studio 中完成,因为它不存储数据,也不提供其他 BI 工具可能允许的关联行的方法。 It only allows you to make simple calculations using data from the same record.它只允许您使用同一记录中的数据进行简单的计算。
But since you're using Google Sheets, you can add a column to your GSheet with the Rank information.但是由于您使用的是 Google 表格,因此您可以在 GSheet 中添加一个包含排名信息的列。 Then, just add the column to your dashboard.然后,只需将该列添加到您的仪表板。
To achieve this, you may want to use the RANK formula .为此,您可能需要使用RANK 公式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.