You are designing a Power BI data model for a sales analysis. The model includes a table named Sales with columns: OrderID, OrderDate, CustomerID, ProductID, Quantity, UnitPrice. You need to create a star schema. Which TWO tables should you create as dimension tables?
Product is a dimension containing descriptive attributes about products.
Why this answer
In a star schema, dimension tables contain descriptive attributes that provide context for the measures stored in the fact table. Product is a classic dimension because it holds product details (e.g., name, category) that describe the sales facts. Customer is also a dimension because it stores customer attributes (e.g., name, region) used for slicing and dicing sales data.
Exam trap
The trap here is that candidates often mistake the Sales table (which contains both measures and foreign keys) as a dimension table, or they incorrectly think Orders should be a dimension instead of recognizing it as part of the fact table's grain.