In Tableau measure values are aggregated automatically by the SUM() function but what if we need another default aggregation function? You can change it quite easily.
Just do a right click on a measure value you chosed, then go to Default Properties and and last go to Aggregation and there you are!