All topics

Topic 02 / 07

Power Query

Prepare and transform data

Skip to quiz· 10 questions
01

Power Query Editor

Power Query Editor prepares data before it reaches the model. Queries appear on the left, the data preview is in the centre and Applied Steps appear on the right. Each transformation becomes a repeatable step that runs again when you refresh.

02

Data Cleaning

Check data types and column quality first. Remove unnecessary rows and columns, trim text and handle nulls or errors according to what the data means. Do not replace every missing value with zero: missing and zero can represent different things.

03

Transforming Data

Rename columns clearly and assign appropriate data types. Split or combine text, extract dates and group rows when needed. Review Applied Steps in order because later steps depend on the structure produced by earlier ones.

04

Merge Queries

Merge joins two queries using matching columns. Choose a join kind based on which rows must remain, then expand the related table to select the columns you need. Matching columns should use compatible types; duplicate keys can multiply rows.

05

Append Queries

Append stacks rows from one query beneath another. Columns are aligned by name rather than position. Use it for similarly structured files or tables, and check for inconsistent names or types before combining them.

06

Pivot & Unpivot

Unpivot converts repeated columns, such as separate month columns, into attribute and value rows. Pivot turns values from a column into new column headings. A tidy structure with one row per observation usually makes filtering and calculations simpler.

Topic quiz ahead10 questions to check what you understood — keep scrolling or tap here to jump straight to it.

Topic quiz

10 questions · answers show after you submit

  1. 1. What language sits behind Power Query steps?

  2. 2. Where can you see every transformation step you applied?

  3. 3. Which feature shows valid, error and empty percentages per column?

  4. 4. By default, column profiling is based on how many rows?

  5. 5. Which operation adds rows from one table under another?

  6. 6. Which operation joins columns from two tables on a key?

  7. 7. Which transformation turns month columns into rows?

  8. 8. Which join keeps only rows that match in both tables?

  9. 9. Which join returns rows from the first table with no match in the second?

  10. 10. Why set data types in Power Query?