0
0
Power BIbi_tool~20 mins

Relationship direction and cross-filtering in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Master of Relationship Direction and Cross-Filtering
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Single vs Both Direction Relationships

In Power BI, what is the main difference between a single direction and a both direction relationship in a data model?

ASingle direction filters data only from one table to another, while both direction filters data in both tables simultaneously.
BSingle direction allows filtering only on numeric columns, both direction allows filtering on text columns.
CSingle direction relationships are faster but less accurate, both direction are slower but more accurate.
DSingle direction relationships only work with one-to-one cardinality, both direction only with many-to-many.
Attempts:
2 left
💡 Hint

Think about how filters flow between tables when you slice data.

dax_lod_result
intermediate
2:00remaining
Effect of Relationship Direction on Measure Calculation

Given two tables: Sales and Products, connected by a single direction relationship from Products to Sales, what will be the result of this measure when filtered by a Product Category?

Sales Amount = SUM(Sales[Amount])
AThe measure will sum sales for all categories except the selected one.
BThe measure will correctly sum sales only for the selected Product Category.
CThe measure will return blank because the filter cannot flow from Products to Sales.
DThe measure will sum all sales ignoring the Product Category filter.
Attempts:
2 left
💡 Hint

Consider the direction of the relationship and where the filter is applied.

🔧 Formula Fix
advanced
2:00remaining
Troubleshooting Unexpected Filter Behavior

You have two tables: Customers and Orders. The relationship is single direction from Customers to Orders. You create a measure to count orders filtered by Customer Region, but the result does not change when you select different regions. What is the most likely cause?

AThe relationship direction is incorrect; it should be from Orders to Customers.
BThe relationship is inactive and needs to be activated.
CThe measure uses an aggregation that ignores filters.
DThe filter is applied on Orders table, but the relationship only filters Orders from Customers.
Attempts:
2 left
💡 Hint

Think about how filters flow and where the filter is applied.

visualization
advanced
2:00remaining
Choosing the Best Visual to Show Cross-Filtering Effects

You want to demonstrate how changing relationship direction affects filtering between Products and Sales tables. Which visualization setup best shows the impact of cross-filtering direction?

AA slicer on Product Category filtering a sales amount card visual.
BA table visual showing all sales records without any filters.
CA pie chart showing sales by region with no interaction with product slicers.
DA matrix visual showing products and sales with no slicers or filters.
Attempts:
2 left
💡 Hint

Think about how slicers and visuals interact with relationships.

🎯 Scenario
expert
3:00remaining
Designing a Data Model for Bidirectional Filtering

You have three tables: Customers, Orders, and Products. You want to enable filtering from Customers to Orders, Orders to Products, and also from Products back to Orders and Customers. Which relationship directions should you set to achieve this without creating ambiguity or circular dependencies?

ASet Customers to Orders as single direction, Orders to Products as both direction, and Products to Orders as single direction.
BSet all relationships as both direction to allow full filtering in all directions.
CSet Customers to Orders and Orders to Products as both direction, avoid setting Products to Orders to prevent circular filtering.
DSet Customers to Orders and Orders to Products as single direction, then create a calculated table to enable reverse filtering.
Attempts:
2 left
💡 Hint

Think about how both direction relationships can cause circular filter paths.