How to sum 2 columns and display in 3rd one in Tableau?

别等时光非礼了梦想. 提交于 2019-12-12 07:04:49

问题


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 !

A | B

2 | 3

3 | 2


A | B | C

2 | 3 | 5

3 | 2 | 5


回答1:


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



来源:https://stackoverflow.com/questions/53400884/how-to-sum-2-columns-and-display-in-3rd-one-in-tableau

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!