openskills.info
Excel Power Query and Pivot Tables logoCourse Preview

Excel Power Query and Pivot Tables

Excel Power Query records repeatable steps for importing and reshaping data. PivotTables then group and aggregate the prepared rows, either from a worksheet table or from related tables in the Excel Data Model.

itData engineering and analytics

Don't Panic - Excel Power Query and Pivot Tables

Excel Power Query and PivotTables form a preparation-and-analysis pipeline inside a workbook. Power Query connects to a source, applies an ordered set of transformations, and loads a result. A PivotTable groups that result into an interactive summary. The boundary matters: Power Query changes the structure delivered to Excel; a PivotTable changes the view of that delivered data without rewriting the source or the query.

The end-to-end flow has five parts. A source supplies records. A query stores connection details and Applied Steps. A load destination writes a worksheet table, loads tables into the Data Model, or stays connection-only. An optional Data Model holds relationships. A PivotTable places fields into rows, columns, values, and filters. Refresh runs the query again and replaces the previous loaded result. Dependent PivotTables then need their own refresh so they are not left on a stale cache.

Every query is also M. The graphical editor writes routine steps; the formula bar and Advanced Editor expose cases the interface cannot express well. Query folding may push work to a structured source. A non-foldable step earlier in the list can force later work into the mashup engine and change refresh cost without an obvious change to the business logic.

Keep shaping in the query and analysis in the PivotTable. Manual edits inside a loaded query table are not transformation logic and disappear on refresh. Prefer parameters for volatile paths and filters. Use the Data Model when the analysis needs related tables; use a worksheet load when the intermediate table must stay visible and simple.

Read the Intro for the pipeline and M boundary. Use the Cheatsheet when you need the step and destination map. Landscape places Power Query among related preparation tools; Updates tracks Microsoft 365 Current Channel notes where Excel and Power Query changes ship.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources