问题
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