Introduction to Data Shaping and Grouping

Introduction to Power Query in Excel

Lyndsay Girard

Performance Analytics Consultant

Shaping and Grouping Data

  • Shaping: restructuring data to make it more suitable for analysis.

  • Grouping: Aggregating and summarizing data based on specific columns.

Four 3-D geometric columns of same overall height with varying color blocks arranged within

Introduction to Power Query in Excel

Ch4_ETL_Unhighlighted.png

Introduction to Power Query in Excel

Ch4_ETL_1of3.png

Introduction to Power Query in Excel

Ch4_ETL_2of3.png

Introduction to Power Query in Excel

Ch4_ETL_3of3.png

Introduction to Power Query in Excel

Transpose

Reshape rows to columns and columns to rows.

Ch4_table.png

Ch4_table_transposed.png

Introduction to Power Query in Excel

Group By

  • Aggregate data into groups based on specific column values (e.g., sum).
Introduction to Power Query in Excel

Group By

  • Aggregate data into groups based on specific column values (e.g., sum).
  • Retains row and column orientation.

Ch4_table_section_groups.png

Ch4_table_group_by.png

Introduction to Power Query in Excel

Pivot

  • Reshape data and create a cross-tabulation by rotating rows into columns.

Ch4_table.png

Ch4_table_pivot_no_aggregation.png

Introduction to Power Query in Excel

Pivot

  • Reshape data and create a cross-tabulation by rotating rows into columns.
  • AND group/aggregate data based on specific columns (e.g., sum).

Ch4_table_pivot_no_aggregation.png

Ch4_table_pivot_with_aggregation.png

Introduction to Power Query in Excel

Transpose vs. Pivot vs. Group By

Ch4_Reshape_Aggregate_1of4.png

Introduction to Power Query in Excel

Transpose vs. Pivot vs. Group By

Ch4_Reshape_Aggregate_1bof4.png

Introduction to Power Query in Excel

Transpose vs. Pivot vs. Group By

Ch4_Reshape_Aggregate_2of4.png

Introduction to Power Query in Excel

Transpose vs. Pivot vs. Group By

Ch4_Reshape_Aggregate_3of4.png

Introduction to Power Query in Excel

Transpose vs. Pivot vs. Group By

Ch4_Reshape_Aggregate_4of4.png

Introduction to Power Query in Excel

Let's practice!

Introduction to Power Query in Excel

Preparing Video For Download...