0
0
Tableaubi_tool~20 mins

Statistical summary card in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Statistical Summary Card Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Create a Statistical Summary Card Showing Average Sales

You want to create a summary card in Tableau that shows the average sales amount for the current year. Which of the following calculated fields will correctly compute the average sales?

ATOTAL(AVG([Sales]))
BSUM([Sales]) / COUNTD([Order ID])
CAVG([Sales])
DWINDOW_SUM([Sales]) / WINDOW_COUNT([Order ID])
Attempts:
2 left
💡 Hint

Think about the simplest way to calculate average sales using built-in aggregation functions.

dax_lod_result
intermediate
2:00remaining
DAX Measure for Median Sales in a Summary Card

In Power BI, you want to create a statistical summary card that shows the median sales amount. Which DAX measure will correctly calculate the median sales?

AMedian Sales = CALCULATE(MEDIAN('Sales'[SalesAmount]), ALL('Sales'))
BMedian Sales = AVERAGE('Sales'[SalesAmount])
CMedian Sales = SUM('Sales'[SalesAmount]) / COUNT('Sales'[SalesAmount])
DMedian Sales = MEDIAN('Sales'[SalesAmount])
Attempts:
2 left
💡 Hint

Use the DAX function that directly calculates the median of a column.

🧠 Conceptual
advanced
2:00remaining
Best Practice for Displaying Statistical Summary Cards

Which of the following is the best practice when designing a statistical summary card for business users?

AUse clear labels, simple statistics like average and median, and highlight key trends visually.
BInclude multiple complex statistics like skewness and kurtosis to provide deep insights.
CDisplay raw data tables alongside the summary card for full transparency.
DUse bright colors and animations to attract attention regardless of data clarity.
Attempts:
2 left
💡 Hint

Think about what helps users quickly understand key information.

🔧 Formula Fix
advanced
2:00remaining
Identify the Error in Tableau Calculation for Summary Card

A Tableau user wrote this calculated field to show the percentage of total sales:
SUM([Sales]) / SUM(TOTAL([Sales]))
Why does this calculation produce an error or incorrect result?

Tableau
SUM([Sales]) / SUM(TOTAL([Sales]))
ATOTAL() returns a number, so wrapping it in SUM() causes a type error.
BThe calculation is correct and will produce the percentage of total sales.
CThe calculation divides by a running total instead of total sales, causing wrong output.
DTOTAL() cannot be nested inside SUM(), causing a syntax error.
Attempts:
2 left
💡 Hint

Check how TOTAL() works and what data type it returns.

🎯 Scenario
expert
3:00remaining
Designing a Dynamic Statistical Summary Card with Filters

You need to create a summary card in Power BI that dynamically updates to show the average sales for the selected region and year. Which DAX measure will correctly achieve this behavior?

AAvg Sales Dynamic = AVERAGE('Sales'[SalesAmount])
BAvg Sales Dynamic = CALCULATE(AVERAGE('Sales'[SalesAmount]))
CAvg Sales Dynamic = CALCULATE(AVERAGE('Sales'[SalesAmount]), REMOVEFILTERS('Sales'[Region], 'Sales'[Year]))
DAvg Sales Dynamic = CALCULATE(AVERAGE('Sales'[SalesAmount]), ALL('Sales'))
Attempts:
2 left
💡 Hint

Consider how CALCULATE works with filters and what happens if you remove or keep them.