0
0
Tableaubi_tool~20 mins

Aggregate vs row-level calculations in Tableau - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Master of Aggregate vs Row-Level Calculations
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Aggregate vs Row-Level Calculations

In Tableau, what is the main difference between aggregate calculations and row-level calculations?

AAggregate calculations summarize data after grouping, while row-level calculations operate on each individual row before aggregation.
BRow-level calculations summarize data after grouping, while aggregate calculations operate on each individual row before aggregation.
CAggregate calculations and row-level calculations both operate on individual rows but differ in syntax only.
DRow-level calculations are only used for filtering data, while aggregate calculations are used for creating new columns.
Attempts:
2 left
💡 Hint

Think about when the calculation happens: before or after grouping data.

dax_lod_result
intermediate
1:30remaining
Result of Aggregate vs Row-Level Calculation in Tableau

Given a sales dataset with columns Region and Sales, which Tableau calculation will return the total sales per region?

Choose the correct formula:

AIF [Sales] > 100 THEN [Sales] ELSE 0 END
BSUM([Sales])
CAVG([Sales])
D[Sales] * 2
Attempts:
2 left
💡 Hint

Think about which function aggregates sales per group.

visualization
advanced
2:00remaining
Choosing the Right Calculation Type for a Dashboard

You want to create a dashboard showing average sales per customer and also highlight customers with sales above average. Which calculation types should you use?

AUse only aggregate calculations for both tasks.
BUse row-level calculation for average sales per customer and aggregate calculation to flag customers above average.
CUse only row-level calculations for both tasks.
DUse aggregate calculation for average sales per customer and row-level calculation to flag customers above average.
Attempts:
2 left
💡 Hint

Average sales per customer is a summary, flagging is per row.

🔧 Formula Fix
advanced
1:30remaining
Debugging a Calculation Mixing Aggregate and Row-Level Functions

Consider this Tableau calculated field: [Sales] / AVG([Sales]). What issue will this cause?

AIt will return the total sales divided by the average sales for the entire dataset.
BIt will calculate the ratio correctly for each row without issues.
CIt will cause an error because you cannot mix row-level and aggregate calculations directly.
DIt will ignore the AVG function and treat both as row-level.
Attempts:
2 left
💡 Hint

Think about how Tableau handles mixing aggregation levels in one formula.

🎯 Scenario
expert
2:30remaining
Scenario: Optimizing Performance with Calculation Types

You have a large dataset and need to calculate the percentage contribution of each product's sales to the total sales. Which approach is best for performance and accuracy?

AUse an aggregate calculation to sum sales per product and then divide by the total sales calculated as a separate aggregate in Tableau.
BCalculate percentage contribution using only row-level calculations without aggregation.
CUse a row-level calculation to divide each product's sales by the total sales aggregated once at the data source level.
DCalculate total sales per product using row-level calculations and total sales using aggregate calculations in the same formula.
Attempts:
2 left
💡 Hint

Consider where aggregation happens and how to avoid repeated calculations.