0
0
Power BIbi_tool~20 mins

Composite models in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Composite Model Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Composite Models in Power BI

Which statement best describes a composite model in Power BI?

AA model that duplicates data across multiple tables to speed up queries.
BA model that only uses Import mode for all data sources to improve performance.
CA model that uses only DirectQuery mode to ensure real-time data access.
DA model that combines data from both DirectQuery and Import storage modes in a single report.
Attempts:
2 left
💡 Hint

Think about how Power BI can mix data storage modes.

dax_lod_result
intermediate
2:00remaining
DAX Measure with Composite Model Behavior

Given a composite model with a DirectQuery table 'Sales' and an Import table 'Products', what is the result of this DAX measure?

Measure = CALCULATE(SUM(Sales[Amount]), Products[Category] = "Electronics")

Assuming 'Products' is imported and 'Sales' is DirectQuery, what does this measure do?

ACalculates the sum of Sales Amount filtered by Electronics category from the imported Products table.
BReturns an error because you cannot filter DirectQuery data by an Import table column.
CIgnores the filter on Products and sums all Sales Amount.
DCalculates the sum of Sales Amount but only for categories present in the Sales table.
Attempts:
2 left
💡 Hint

Consider how relationships work between Import and DirectQuery tables in composite models.

visualization
advanced
2:00remaining
Visualizing Performance Impact of Composite Models

You have a composite model mixing large DirectQuery sales data and small imported product data. Which visualization approach best helps identify performance bottlenecks?

AAdd a card visual displaying total sales amount only.
BCreate a report page with a table showing query durations and data source types for each visual.
CBuild a line chart showing sales trends over time without any query diagnostics.
DUse a pie chart to show sales distribution by product category without performance metrics.
Attempts:
2 left
💡 Hint

Think about what helps diagnose performance issues in composite models.

🔧 Formula Fix
advanced
2:00remaining
Debugging Relationship Issues in Composite Models

You created a composite model with an Import table 'Customers' and a DirectQuery table 'Orders'. The relationship between them is inactive, causing incorrect sales totals. Which DAX expression activates the relationship temporarily to fix the measure?

Measure = ?
ASUMX(Orders, Orders[Amount]) + RELATED(Customers[CustomerID])
BCALCULATE(SUM(Orders[Amount]), ALL(Customers))
CCALCULATE(SUM(Orders[Amount]), USERELATIONSHIP(Customers[CustomerID], Orders[CustomerID]))
DSUM(Orders[Amount]) * COUNTROWS(Customers)
Attempts:
2 left
💡 Hint

Recall how to activate inactive relationships in DAX.

🎯 Scenario
expert
3:00remaining
Designing a Composite Model for Mixed Data Sources

Your company wants a Power BI report combining real-time sales data from a DirectQuery SQL database and historical sales data imported monthly. You also want to filter by product categories from an imported table. Which design approach best fits this scenario?

ACreate a composite model with DirectQuery for real-time sales, Import for historical sales and products, and define relationships between tables.
BImport all data including real-time sales to ensure fast report performance.
CUse DirectQuery for all tables to keep data always current, ignoring import mode.
DCreate separate reports for real-time and historical data without combining them.
Attempts:
2 left
💡 Hint

Consider how composite models allow mixing storage modes for best performance and freshness.