![Display grand totals and subtotals in Tableau](https://static.wixstatic.com/media/e16c6a_5c014770a5cf47898caa0db29088320b~mv2.jpg/v1/fill/w_980,h_515,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/e16c6a_5c014770a5cf47898caa0db29088320b~mv2.jpg)
In this post, you will learn how to add grand totals and subtotals in Tableau.
To show this, lets first create a view (table) showing Sales for different Regions and Segments in different Years
![Creating a table in Tableau](https://static.wixstatic.com/media/e16c6a_475481603abe4b12a4d14e1f47583ff8~mv2.png/v1/fill/w_685,h_392,al_c,q_85,enc_avif,quality_auto/e16c6a_475481603abe4b12a4d14e1f47583ff8~mv2.png)
To add grand totals and subtotals.
Go to Analysis menu >> Totals >> and chose grand totals and subtotals respectively
![Adding grand totals and subtotals in Tableau](https://static.wixstatic.com/media/e16c6a_f675761290294710a39a43b5e2791514~mv2.png/v1/fill/w_773,h_539,al_c,q_90,enc_avif,quality_auto/e16c6a_f675761290294710a39a43b5e2791514~mv2.png)
You can customize how these grand totals and sub-totals are computed by going to Total All Using in the same menu
![Customizing grand totals and subtotals in Tableau](https://static.wixstatic.com/media/e16c6a_144b10e8ee7241f4af8a26d7a8ff127e~mv2.png/v1/fill/w_749,h_537,al_c,q_90,enc_avif,quality_auto/e16c6a_144b10e8ee7241f4af8a26d7a8ff127e~mv2.png)
By default, grand totals and subtotals are displayed at the bottom or right of the table, you can move them to the top or left by;
Right clicking on Grand total or Subtotal on the table and choose Column Totals to Top or Row Totals to Left
![crosstab](https://static.wixstatic.com/media/e16c6a_c0cca9703a454ecc80b17f05383ce28a~mv2.png/v1/fill/w_656,h_484,al_c,q_85,enc_avif,quality_auto/e16c6a_c0cca9703a454ecc80b17f05383ce28a~mv2.png)
Alternatively, go to the Analysis menu >> Totals >> Column Totals to Top or Row Totals to Left
![Positioning grand totals and subtotals to the top or left](https://static.wixstatic.com/media/e16c6a_68e373bfa28645a8bd435b4f6abb89e6~mv2.png/v1/fill/w_758,h_538,al_c,q_90,enc_avif,quality_auto/e16c6a_68e373bfa28645a8bd435b4f6abb89e6~mv2.png)
Resulting table after some quick formatting.
![formatted data table](https://static.wixstatic.com/media/e16c6a_c5ad15c2a7264457befa9f916cba635d~mv2.png/v1/fill/w_722,h_524,al_c,q_90,enc_avif,quality_auto/e16c6a_c5ad15c2a7264457befa9f916cba635d~mv2.png)
I hope this article was helpful to you. To receive more of the Tableau tips and tricks, kindly subscribe to our mailing list below.
Thank you for reading.