选择过滤器后自动排序 table
Automated sorting of table after filter is selected
timestamp | product | performance | sort_quantity
--------------|------------------|-----------------------|------------------------
2020-01-01 | Product_A | high | 819
2020-03-15 | Product_A | high | 819
2020-01-01 | Product_B | low | -214
2020-03-15 | Product_B | low | -214
2020-01-01 | Product_C | high | -100
2020-03-15 | Product_C | high | -100
2020-01-01 | Product_D | low | 933
2020-03-15 | Product_D | low | 933
2020-01-01 | Product_E | high | 501
2020-03-15 | Product_E | high | 501
我将上面的 table 插入到 Tableau
中,如下所示:
(抱歉只有德语版)
这一切都很完美。
现在,我将针对列 performance
的过滤器添加到报告中。
当我 select 过滤器中的一个值(例如 high
)时,报告如下所示:
过滤功能是正确的,但我也希望一旦点击过滤器,table 就会自动排序(降序)基于第 sort_quantity
列.
是否可以用 Tableau
做到这一点?
如果是,我该如何实现?
timestamp | product | performance | sort_quantity
--------------|------------------|-----------------------|------------------------
2020-01-01 | Product_A | high | 819
2020-03-15 | Product_A | high | 819
2020-01-01 | Product_B | low | -214
2020-03-15 | Product_B | low | -214
2020-01-01 | Product_C | high | -100
2020-03-15 | Product_C | high | -100
2020-01-01 | Product_D | low | 933
2020-03-15 | Product_D | low | 933
2020-01-01 | Product_E | high | 501
2020-03-15 | Product_E | high | 501
我将上面的 table 插入到 Tableau
中,如下所示:
(抱歉只有德语版)
这一切都很完美。
现在,我将针对列 performance
的过滤器添加到报告中。
当我 select 过滤器中的一个值(例如 high
)时,报告如下所示:
过滤功能是正确的,但我也希望一旦点击过滤器,table 就会自动排序(降序)基于第 sort_quantity
列.
是否可以用 Tableau
做到这一点?
如果是,我该如何实现?