Using Calculations: Working with Aggregations Flashcards

1
Q

When aggregating data, especially in calculations with multiple fields, pay special attention to ______, especially when the view contains ______

A

the order of operation; totals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does Tableau treat calculated fields that already aggregate data?

A

It will not aggregate them any further than what is defined in the calculation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If you create a calculated field with the formula [Profit]/[Sales], what will the field look like when you add it to the view?

A

SUM(Profit/Sales)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When calculated fields are created based on measures, what are your two options for where to apply aggregation?

A

You can include the aggregation within the calculation or apply it in when the calculated field is used in the view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When the aggregation is applied as you add a field to the view, at what level is the data aggregated?

A

Row level - it is applied to every row of your data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When the aggregation is done within the calculation of the field, at what level is the data aggregated?

A

Whatever levels you have brought into the view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does Tableau indicate that a field’s aggregation was done within the calculation and not at the row level?

A

The field name is enclosed in AGG() when it is brought into the view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly