← 30 Days Excel Series
Day 13 of 30IntermediatePower Query

Day 13: Power Query — Basics

5 questions · Excel Interview Preparation

Q1

What is Power Query and why is it better than manual data cleaning in Excel?

Power Query is Excel's built-in ETL (Extract, Transform, Load) tool, accessible via Data → Get Data. It records every transformation step in a query that can be refreshed with one click when source data updates. Benefits over manual cleaning: (1) Reproducible — the same steps run every time on new data. (2) Auditable — every step is listed in the Applied Steps pane and can be reviewed or removed. (3) Scalable — handles datasets that would slow down Excel formulas. (4) No formulas required — most transformations are point-and-click.

💡 Interview tip: If you are doing the same data cleaning steps every week or month, Power Query is the answer. It turns a 2-hour manual process into a 5-minute refresh.
Q2

How do you connect to a CSV file using Power Query?

Data → Get Data → From File → From Text/CSV → browse to the file. Power Query detects the delimiter and data types automatically. In the preview window, you can change data type detection or adjust the delimiter if needed. Click "Transform Data" to open the Power Query Editor for further cleaning, or "Load" to import directly. Once loaded, the query is saved — next time you click Refresh, it re-reads the file and applies all your transformation steps.

💡 Interview tip: Always use Transform Data first rather than Load directly — you almost always need to at least verify or change column data types.
Q3

What are "Applied Steps" in Power Query?

Applied Steps is the pane on the right side of the Power Query Editor that lists every transformation you have performed, in order. Each step has a name (e.g. "Removed Columns", "Changed Type", "Filtered Rows"). You can click any step to see the state of the data at that point. You can delete a step to remove that transformation. You can rename steps for clarity. This step-by-step recording is what makes Power Query transformations reproducible and auditable.

💡 Interview tip: When a transformation gives unexpected results, click through the Applied Steps one by one to find which step introduced the issue.
Q4

How do you remove duplicates in Power Query?

In the Power Query Editor: select the column(s) to check for duplicates → Home → Remove Rows → Remove Duplicates. If you select one column, rows are considered duplicates only if that column value repeats. If you select multiple columns (Ctrl+click), a row is a duplicate only if ALL selected columns match. Power Query adds a "Removed Duplicates" step to Applied Steps — you can delete it if you change your mind.

💡 Interview tip: Unlike Excel's Remove Duplicates (which modifies data in place), Power Query keeps the original file untouched and records the step — making it reversible.
Q5

How do you merge two queries in Power Query (equivalent to a SQL JOIN)?

With both tables loaded as queries: Home → Merge Queries. Choose the first query, select the matching column, choose the second query, select its matching column, choose the join type (Left Outer, Inner, Full Outer, etc.). The result creates a new column containing a nested table — click the expand icon in the column header to select which columns from the second table to bring in. This is the Power Query equivalent of a SQL LEFT JOIN.

💡 Interview tip: Merge Queries = SQL JOIN. Append Queries = SQL UNION ALL. Know both and their differences.
← Day 12All DaysDay 14

Want 1:1 Excel coaching?

Join EVIKA Academy for live Excel training, real projects, and placement support in Delhi NCR.

Book Free Demo →
Best Data Analytics Course in Noida Delhi NCR | EVIKA ACADEMY