0
0
Power BIbi_tool~20 mins

Decomposition tree in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Decomposition Tree Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
visualization
intermediate
2:00remaining
Understanding Decomposition Tree Node Expansion

You have a decomposition tree visual showing sales by region, then by product category, then by sales channel. If you expand the 'North America' node, which of the following best describes what you will see next?

AA breakdown of sales by product category within North America.
BA breakdown of sales by sales channel within North America.
CA total sales number for North America without further breakdown.
DA breakdown of sales by region within North America.
Attempts:
2 left
💡 Hint

Think about the order of levels in the decomposition tree.

dax_lod_result
intermediate
2:00remaining
DAX Measure for Decomposition Tree Node Value

Given a sales table with columns: Region, ProductCategory, SalesAmount, which DAX measure correctly calculates total sales for the current node in a decomposition tree?

Power BI
Total Sales = SUM(Sales[SalesAmount])
ATotal Sales = CALCULATE(SUM(Sales[SalesAmount]), ALL(Sales))
BTotal Sales = SUM(Sales[SalesAmount])
CTotal Sales = CALCULATE(SUM(Sales[SalesAmount]), VALUES(Sales[Region]))
DTotal Sales = SUMX(Sales, Sales[SalesAmount])
Attempts:
2 left
💡 Hint

Consider how the decomposition tree filters data context automatically.

data_modeling
advanced
2:30remaining
Modeling Data for Effective Decomposition Tree Use

You want to create a decomposition tree that breaks down sales by Region, then by Product Category, then by Customer Segment. Which data modeling approach is best to support this?

AUse only the Sales table with all columns and no relationships.
BCombine Region, Product Category, and Customer Segment into a single column in the Sales table.
CCreate one dimension table combining Region and Product Category, and keep Customer Segment in Sales table.
DCreate separate dimension tables for Region, Product Category, and Customer Segment, each related to the Sales fact table.
Attempts:
2 left
💡 Hint

Think about how hierarchies and filtering work best in Power BI.

🎯 Scenario
advanced
2:30remaining
Using Decomposition Tree to Identify Sales Issues

Your decomposition tree shows total sales by Region > Product Category > Sales Channel. You notice a sudden drop in sales in the 'West' region. How can you use the decomposition tree to find the cause?

AChange the decomposition tree to show only total sales without breakdowns.
BRemove the 'West' region from the tree and focus on other regions.
CExpand the 'West' node to see which product categories have lower sales, then expand those categories by sales channel.
DFilter the entire report to only show the 'West' region without breakdowns.
Attempts:
2 left
💡 Hint

Use the tree's drill-down feature to explore details.

🔧 Formula Fix
expert
3:00remaining
Debugging Unexpected Behavior in Decomposition Tree Filters

You created a decomposition tree with levels: Country > City > Store. The measure 'Total Sales' is defined as Total Sales = SUM(Sales[Amount]). However, when you expand 'USA' to see cities, the sales numbers do not change and show the total for all countries. What is the most likely cause?

AThe relationship between Sales and the Country dimension is inactive or missing, so filters do not apply.
BThe Sales table has no data for cities, so the filter fails.
CThe decomposition tree visual does not support multiple levels of breakdown.
DThe measure uses SUM instead of CALCULATE, so it ignores filters.
Attempts:
2 left
💡 Hint

Check relationships and filter propagation in your data model.