Beans Dataset Cleaning Guide
Think like an analyst. Clean the workbook before you model it.
Building a Star Schema
The purpose of this exercise is to transform raw, messy data into a Star Schema—the gold standard for analytical data modeling. A star schema simplifies complex data by organizing it into two distinct types of tables: a central Fact Table surrounded by descriptive Dimension Tables.
Fact Tables (The Events)
The center of the star. These tables record measurable, quantitative events (like logged hours or billed amounts). Fact tables primarily contain numeric measures and foreign keys to dimension tables, with minimal descriptive attributes. While they might contain operational flags, timestamps, or degenerate dimensions (like transaction IDs), most descriptive text should live in dimension tables.
Dimension Tables (The Context)
These tables provide the "who, what, when, where, and why." They contain descriptive text and time-related fields (like Employee Names, Task Descriptions, Date attributes, or Client Locations). They give meaning and filters to your metrics.
By isolating descriptions into Dimension tables and keeping primarily numbers and IDs in the Fact table, you ensure your data model is fast, avoids data duplication, and is incredibly easy to filter and analyze. Keep this architecture in mind as you complete the cleaning steps below.
How to use this guide
Read each task, think through how you would solve it in Power Query, then click "Reveal Answer" to check your logic against the guided steps. Check off each item as you complete it in your own file.