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

Excel Power Query and Pivot Tables

Excel Power Query and PivotTables form a preparation-and-analysis pipeline inside a workbook. Power Query connects to source data, applies an ordered set of transformations, and loads the result. A PivotTable groups that result into an interactive summary.

The key boundary is between shaping rows and analyzing groups. 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

The workflow has five parts:

  1. Source: A worksheet table, text file, folder, database, web source, or another supported connector supplies records.
  2. Query: Power Query stores connection details and a sequence of transformation steps.
  3. Load destination: The query writes a table to a worksheet, loads tables into the Data Model, or remains connection-only for use by another query.
  4. Model: The optional Excel Data Model holds multiple tables and relationships between matching keys.
  5. PivotTable: Fields become rows, columns, values, and filters. Excel aggregates the values for each intersection of row and column groups.

Refresh runs the query again against its source. The output replaces the previous loaded result, and dependent PivotTables can then display the updated rows. Refresh does not replay manual edits made inside a loaded query table as transformation logic.

Power Query as a transformation recipe

Power Query Editor shows a data preview and an Applied Steps list. Each action adds a step. Common steps select columns, filter rows, assign data types, split values, replace values, group rows, pivot or unpivot columns, and combine tables.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

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

Sources