Tableau(Introduction to aggregation in tableau)
An Introduction to Aggregation in Tableau
Every measure on a view in Tableau is aggregated in some way.
It can be easy to not notice this when you’re getting started because the default aggregation is SUM, and that works for most situations. Look back at the views created through our five approaches above; the Sales measure is preceded by the word SUM to show you how the field is being aggregated.
There are several other aggregation options in Tableau, and the choice will influence your analysis.
Here is a list of some of the options and the results you can expect to see for each choice (using the Sales measure):
SUM: All of the sales added up together
AVG: All of your sales added up, divided by the number of records
MEDIAN: When sorted, the sales amount for the record in the exact middle of your data
CNT: A count of all records with sales
CNTD: A count of distinct sales amounts
MIN: The smallest sales value in your data
MAX: The largest sales value in your data
Knowing that there are always multiple approaches to the same solution in Tableau and having an understanding of aggregation will help tremendously as we start working with different visualizations and creating calculated fields
Comments
Post a Comment