In Power BI, what is the main difference between a single direction and a both direction relationship in a data model?
Think about how filters flow between tables when you slice data.
Single direction relationships filter data from one table to another in one direction only. Both direction relationships allow filters to flow both ways, affecting both tables.
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])
Consider the direction of the relationship and where the filter is applied.
The single direction relationship from Products to Sales allows filters on Products to affect Sales, so filtering by Product Category correctly filters the Sales Amount.
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?
Think about how filters flow and where the filter is applied.
Since the relationship filters from Customers to Orders, applying a filter on Orders does not affect Customers. If the filter is applied on Orders, it won't affect the measure counting orders by Customer Region.
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?
Think about how slicers and visuals interact with relationships.
A slicer on Product Category filtering a sales amount card visual clearly shows how filters flow from Products to Sales, demonstrating the effect of relationship direction.
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?
Think about how both direction relationships can cause circular filter paths.
Setting Customers to Orders and Orders to Products as both direction allows filtering down and up the chain without circular dependencies. Avoid setting Products to Orders as both direction to prevent ambiguity and circular filtering errors.