Denormalize a dimension

In this example, the DimProduct, DimProductSubcategory, and DimProductCategory tables are integrated into one query. This query will include all product rows, only the English language columns, and user-friendly names.

Figure 33: Source Tables for Product Dimension

Many-to-one relationships have been defined in the source database.

  1. Create three queries for each source table and disable their loads.
  2. Use query group folders in the Query Editor to isolate these queries.
Figure 34: Staging Queries
  • The gray font indicates ...

Get Microsoft Power BI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.