In Power BI, why is it important to create relationships between related tables?
Think about how data from different tables can work together in reports.
Connecting related tables allows Power BI to filter and summarize data correctly across tables, enabling accurate and meaningful reports.
Given two tables: Sales and Products connected by ProductID, what is the result of this DAX measure?
SalesAmountFiltered = CALCULATE(SUM(Sales[Amount]), Products[Category] = "Beverages")
If Sales table has amounts: 100, 200, 300 for products in categories Beverages, Snacks, Beverages respectively, what is the measure value?
Only sum amounts where product category is Beverages.
The measure sums Sales amounts only for products in the Beverages category, which are 100 and 300, totaling 400.
You have two related tables: Customers and Orders. You want to show total orders per customer with a clear connection between them. Which visualization best shows this?
Think about showing totals grouped by customer.
A bar chart grouped by customer name clearly shows total orders per customer, leveraging the relationship between Customers and Orders tables.
You created a report summing sales amounts, but totals are too high. You have two tables: Sales and Customers. You forgot to create a relationship between them. What is the likely cause?
Think about how missing relationships affect data aggregation.
Without a relationship, Power BI cannot match sales to customers properly, causing duplicated sums and inflated totals.
You have two tables: Sales with columns (SaleID, ProductID, Quantity, Amount) and Products with (ProductID, ProductName, Category). You want to analyze total sales by product category. What is the best data modeling approach?
Think about which table has unique products and which has multiple sales per product.
Products table has unique ProductID values (one side), and Sales has many rows per product (many side). A one-to-many relationship from Products to Sales on ProductID is best.