0
0
Power BIbi_tool~20 mins

Active vs inactive relationships in Power BI - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Active vs Inactive Relationships Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
DAX Measure Using Inactive Relationship
Given two tables, Sales and Dates, connected by an active relationship on OrderDate and an inactive relationship on ShipDate, which DAX measure correctly calculates total sales based on ShipDate?
Power BI
Total Sales by ShipDate = CALCULATE(SUM(Sales[Amount]), USERELATIONSHIP(Sales[ShipDate], Dates[Date]))
ATotal Sales by ShipDate = SUM(Sales[Amount])
BTotal Sales by ShipDate = CALCULATE(SUM(Sales[Amount]), USERELATIONSHIP(Sales[ShipDate], Dates[Date]))
CTotal Sales by ShipDate = CALCULATE(SUM(Sales[Amount]), ALL(Dates))
DTotal Sales by ShipDate = CALCULATE(SUM(Sales[Amount]), FILTER(Dates, Dates[Date] = Sales[ShipDate]))
Attempts:
2 left
💡 Hint
Use USERELATIONSHIP to activate an inactive relationship in a measure.
visualization
intermediate
2:00remaining
Visualizing Active vs Inactive Relationship Impact
You have a report page with two cards showing total sales: one filtered by OrderDate (active relationship) and one by ShipDate (inactive relationship). Which visualization setup best shows the difference clearly and accessibly?
AA table listing sales amounts with no headers or titles.
BOne card showing total sales without specifying date type, with a small legend explaining dates.
CA pie chart combining sales by OrderDate and ShipDate in one slice each, without labels.
DTwo cards side by side with clear titles: 'Sales by Order Date' and 'Sales by Ship Date', using contrasting colors and large fonts.
Attempts:
2 left
💡 Hint
Clear labeling and contrast help users understand differences quickly.
🧠 Conceptual
advanced
2:00remaining
Understanding Relationship Activation in Power BI
Which statement best explains the difference between active and inactive relationships in Power BI data models?
AActive relationships filter data by default; inactive relationships require explicit activation in DAX to filter data.
BInactive relationships automatically filter data unless overridden by active relationships.
CActive relationships cannot be deactivated once created; inactive relationships are deleted relationships.
DInactive relationships are used only for visual-level filters and cannot be used in measures.
Attempts:
2 left
💡 Hint
Think about which relationships apply filters automatically.
🔧 Formula Fix
advanced
2:00remaining
Debugging a Measure Using Inactive Relationship
A measure intended to calculate sales by ShipDate is returning total sales by OrderDate instead. What is the most likely cause?
AThe measure does not use USERELATIONSHIP to activate the inactive ShipDate relationship.
BThe ShipDate column is missing from the Sales table.
CThe Dates table has no active relationship with Sales.
DThe measure uses CALCULATE but SUM is missing.
Attempts:
2 left
💡 Hint
Inactive relationships need special handling in DAX.
🎯 Scenario
expert
3:00remaining
Scenario: Combining Active and Inactive Relationships in a Report
You want to create a report showing total sales by OrderDate and total sales by ShipDate side by side. The data model has an active relationship on OrderDate and an inactive relationship on ShipDate. Which approach will produce correct results for both measures in the same report?
AUse a slicer to switch between OrderDate and ShipDate relationships dynamically.
BActivate the ShipDate relationship in the model and deactivate the OrderDate relationship.
CCreate two measures: one summing sales normally (uses active OrderDate), and one using CALCULATE with USERELATIONSHIP to activate ShipDate; then place both in the report.
DCreate one measure using USERELATIONSHIP for ShipDate and use it for both visuals.
Attempts:
2 left
💡 Hint
You can have multiple measures using different relationships simultaneously.