0
0
Power BIbi_tool~20 mins

Waterfall charts in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Waterfall Chart Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
Calculate the correct cumulative total for a Waterfall chart

You have a sales table with daily sales amounts. You want to create a measure that shows the cumulative sales up to each day for a Waterfall chart.

Which DAX measure will correctly calculate the cumulative sales?

ACumulative Sales = SUM(Sales[Amount]) + PREVIOUSMONTH(Sales[Amount])
BCumulative Sales = SUMX(FILTER(Sales, Sales[Date] <= EARLIER(Sales[Date])), Sales[Amount])
CCumulative Sales = CALCULATE(SUM(Sales[Amount]), FILTER(Sales, Sales[Date] < MAX(Sales[Date])))
DCumulative Sales = CALCULATE(SUM(Sales[Amount]), FILTER(ALL(Sales[Date]), Sales[Date] <= MAX(Sales[Date])))
Attempts:
2 left
💡 Hint

Think about how to include all dates up to the current date in the calculation.

visualization
intermediate
1:30remaining
Best practice for Waterfall chart color usage

When designing a Waterfall chart, which color scheme is best to clearly show increases, decreases, and totals?

AUse the same color for all bars to keep it simple.
BUse random colors for each bar to make the chart colorful.
CUse green for increases, red for decreases, and gray for totals.
DUse blue for increases, yellow for decreases, and orange for totals.
Attempts:
2 left
💡 Hint

Think about common color meanings and how to make the chart easy to understand.

data_modeling
advanced
2:30remaining
Modeling data for Waterfall charts with multiple categories

You want to create a Waterfall chart that shows profit changes by product category and month. Your data has transactions with ProductCategory, Date, Revenue, and Cost columns.

What is the best data modeling approach to support this Waterfall chart?

ACreate a Date dimension table, relate it to transactions by Date, and create measures for Profit and cumulative Profit by category and month.
BUse the transactions table only, without any relationships or dimension tables, and create calculated columns for cumulative profit.
CCreate a ProductCategory table only and use it to filter transactions, ignoring dates.
DCreate a single table combining all data into one flat table with no relationships.
Attempts:
2 left
💡 Hint

Think about how to filter and aggregate data by time and category efficiently.

🔧 Formula Fix
advanced
2:00remaining
Identify the error in this Waterfall chart measure

Given this DAX measure for a Waterfall chart cumulative total, what error will it cause?

Running Total = CALCULATE(SUM(Sales[Amount]), FILTER(Sales, Sales[Date] <= MAX(Sales[Date])))
AIt will return only the current date's sales, not cumulative.
BIt will return the correct cumulative total without errors.
CIt will cause a syntax error due to incorrect use of FILTER.
DIt will cause a circular dependency error because FILTER references the same table without removing filters.
Attempts:
2 left
💡 Hint

Consider how FILTER and CALCULATE interact with row context and filter context.

🧠 Conceptual
expert
3:00remaining
Scenario: Explaining Waterfall chart behavior with missing intermediate totals

You created a Waterfall chart showing monthly profit changes. However, the chart skips some months and jumps directly from January to March totals, missing February.

What is the most likely cause of this behavior?

AThe data model is missing rows for February, so the Waterfall chart cannot show that month.
BThe Waterfall chart automatically hides months with zero or no change, so February is skipped.
CThe date column is not sorted correctly, causing months to appear out of order.
DThe measure used does not calculate cumulative totals, so intermediate months are ignored.
Attempts:
2 left
💡 Hint

Think about how Waterfall charts handle zero or no change values.