如何在Tableau中对2列求和并显示在第三列中? [英] How to sum 2 columns and display in 3rd one in Tableau?
本文介绍了如何在Tableau中对2列求和并显示在第三列中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们如何在 Tableau 中对两列求和并在第三列中获得结果?
How can we sum two columns and get the result in third column in Tableau ?
我尝试这样做,但不是像列标题那样,而是排成一行!如果有人可以帮忙!谢谢!
I tried doing that but instead of getting as in column header I got in row! If someone can help! Thanks !
2 |3
3 |2
2 |3 |5
3 |2 |5
推荐答案
您可以使用分析"菜单中提供的行总计.它将汇总您的行并显示在单独的列中.
You can use the row grand totals which is available in the Analysis menu. It will sum up your rows and show in a separate column.
您还可以创建一个计算字段并将三列放在度量值"卡中.它们会并排出现
You can also create a calculated field and put the three columns in the Measure Values card. They will appear side by side
这篇关于如何在Tableau中对2列求和并显示在第三列中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文