Raw in. Clean through. Model out.
Three passes, one direction
The data starts in one Excel workbook. Power Query reads it in three groups of queries, and each group reads only from the one before it. The names come from the lakehouse "medallion" pattern, which is useful later: if the model moves to Microsoft Fabric, each group becomes a set of lakehouse tables and the model on top barely changes.
BBronze
The sheet, exactly as it arrived. No fixes.
SSilver
Cleaned: types set, spaces trimmed, names made consistent. One cleaning query per table.
GGold
Shaped for the model: facts and dimensions, keys, sort-order columns.
Follow one row
One row in the sheet has the country typed as “ Chile ”, with spaces. Which layer should remove them?
An illustrative row. The query groups and their order are the real ones.
Which layer owns the job?
Pick a layer for each job.