The total function in Tableau takes whatever expression you give it and computes it for the whole data set in your partition. i.e. the totality of the data set. It's not to be confused with totalling up your data or summing up your values. Dive into this video to find out more about partitions and the function itself.