Using Calculations: Working with Aggregations Flashcards
When aggregating data, especially in calculations with multiple fields, pay special attention to ______, especially when the view contains ______
the order of operation; totals
How does Tableau treat calculated fields that already aggregate data?
It will not aggregate them any further than what is defined in the calculation
If you create a calculated field with the formula [Profit]/[Sales], what will the field look like when you add it to the view?
SUM(Profit/Sales)
When calculated fields are created based on measures, what are your two options for where to apply aggregation?
You can include the aggregation within the calculation or apply it in when the calculated field is used in the view
When the aggregation is applied as you add a field to the view, at what level is the data aggregated?
Row level - it is applied to every row of your data
When the aggregation is done within the calculation of the field, at what level is the data aggregated?
Whatever levels you have brought into the view
How does Tableau indicate that a field’s aggregation was done within the calculation and not at the row level?
The field name is enclosed in AGG() when it is brought into the view