Module 02 · Transform data (Power Query)
Clean & shape data
Remove, filter, retype and fix values — the everyday moves.
-
Step 1: Select the columns you don’t need (in the practice file: Notes and InternalCode) → right-click → Remove columns.
-
Step 2: Click the filter arrow on the Region column to remove blanks (null) or unwanted categories.
-
Step 3: Set each column’s data type via the icon in the column header (Text, Whole number, Decimal number, Date).
Watch out: Wrong types break everything downstream — money stored as text won’t sum. Fix types early.
-
Step 4: Use Replace values to fix typos (for example
jakarta→Jakarta), and Transform → Format → Trim to remove extra spaces. -
Step 5: Click Close & Apply to push the cleaned table back into the model.