How can we quickly understand the sales performance and variability for our products in the first quarter?
Statistical summary card in Tableau - Dashboard Guide
Start learning this pattern below
Jump into concepts and practice - no test required
| Product | Sales |
|---|---|
| Alpha | 120 |
| Beta | 150 |
| Gamma | 100 |
| Delta | 130 |
| Epsilon | 110 |
- Total Sales Card: Shows total sales across all products.
Formula:SUM([Sales])
Result: 610 - Average Sales Card: Shows average sales per product.
Formula:AVG([Sales])
Result: 122 - Minimum Sales Card: Shows the lowest sales value.
Formula:MIN([Sales])
Result: 100 - Maximum Sales Card: Shows the highest sales value.
Formula:MAX([Sales])
Result: 150 - Standard Deviation Card: Shows how much sales vary.
Formula:STDEV([Sales])
Result: Approximately 19.24 - Sales Bar Chart: Visualizes sales by product.
X-axis: Product
Y-axis: Sales - Sales Data Table: Lists products and their sales values.
+--------------------------------------------------+
| Total Sales | Average Sales | Min Sales | Max Sales |
| (610) | (122) | (100) | (150) |
+--------------------------------------------------+
| Standard Deviation (19.24) |
+--------------------------------------------------+
| Sales Bar Chart |
| (Products on X-axis, Sales on Y-axis) |
+--------------------------------------------------+
| Sales Data Table |
| (Product and Sales columns) |
+--------------------------------------------------+
A filter for Product allows selecting one or more products.
When a product filter is applied:
- All summary cards (Total, Average, Min, Max, Std Dev) update to reflect only selected products.
- The Sales Bar Chart updates to show bars only for selected products.
- The Sales Data Table shows only the filtered products.
If you add a filter to select only products with sales greater than 120, which components update?
- All summary cards update to show totals, averages, min, max, and standard deviation for filtered products.
- The Sales Bar Chart updates to show only bars for products with sales > 120.
- The Sales Data Table shows only those filtered products.
Practice
What is the main purpose of a statistical summary card in Tableau dashboards?
Solution
Step 1: Understand the role of summary cards
Summary cards highlight important numbers like totals or averages for quick insight.Step 2: Compare options with this purpose
Only To show key numbers clearly and simply matches the purpose of showing key numbers simply and clearly.Final Answer:
To show key numbers clearly and simply -> Option DQuick Check:
Summary card = clear key numbers [OK]
- Confusing summary cards with detailed tables
- Thinking summary cards create data models
- Assuming summary cards are for maps
Which of the following is the correct way to create a SUM aggregation for a measure named Sales in Tableau?
Solution
Step 1: Recall Tableau aggregation syntax
Tableau uses square brackets for field names inside aggregation functions.Step 2: Check each option
OnlySUM([Sales])uses correct syntax with brackets and parentheses.Final Answer:
SUM([Sales]) -> Option AQuick Check:
SUM with brackets = SUM([Sales]) [OK]
- Omitting square brackets around field names
- Using curly braces instead of parentheses
- Using colon instead of parentheses
Given a dataset with Sales values: 100, 200, 300, what will the AVG([Sales]) aggregation show on a summary card?
Solution
Step 1: Calculate the average of Sales values
Sum is 100 + 200 + 300 = 600; count is 3.Step 2: Compute average
Average = 600 / 3 = 200.Final Answer:
200 -> Option BQuick Check:
AVG = sum/count = 200 [OK]
- Choosing sum instead of average
- Picking a single value instead of average
- Confusing average with maximum
Which of the following formulas will cause an error when used in a Tableau summary card?
IF SUM([Sales]) > 100 THEN 'High' ELSE 'Low' END
Solution
Step 1: Understand Tableau IF statement syntax
Tableau IF statements must end withENDkeyword.Step 2: Check each option for missing END
IF SUM([Sales]) > 100 THEN 'High' ELSE 'Low'is missingEND, causing syntax error.Final Answer:
IF SUM([Sales]) > 100 THEN 'High' ELSE 'Low' -> Option CQuick Check:
Missing END causes error [OK]
- Forgetting END keyword in IF statements
- Using wrong comparison operators
- Misplacing THEN or ELSE keywords
You want to create a summary card showing the COUNT of unique customers who made purchases over $500. Which Tableau calculation should you use?
Solution
Step 1: Identify requirement for unique count of customers
UseCOUNTDto count distinct customer IDs.Step 2: Filter customers with sales over $500
Use IF to include only customers where[Sales] > 500.Step 3: Combine into calculation
COUNTD(IF [Sales] > 500 THEN [Customer ID] END)counts unique customers meeting condition.Final Answer:
COUNTD(IF [Sales] > 500 THEN [Customer ID] END) -> Option AQuick Check:
Unique count with condition = COUNTD(IF...) [OK]
- Using COUNT instead of COUNTD for unique counts
- Using SUM or AVG instead of count functions
- Not filtering with IF condition properly
