Column Transformations

Introduction to Power Query in Excel

Lyndsay Girard

Performance Analytics Consultant

Overview

Image showing series of stages of folding paper from flat to folded into origami figure

Column transformation: Modifying data in some way to meet your data analysis requirements.

Introduction to Power Query in Excel

Column transformations in the ETL journey

Ch3_ETL_Headers_Transform_Unhighlighted.png

Introduction to Power Query in Excel

Column transformations in the ETL journey

Ch3_ETL_Headers_Transform_Highlighted.png

Introduction to Power Query in Excel

Column transformations in the ETL journey

Ch3_ETL_Headers_Transform_Highlighted_2.png

Introduction to Power Query in Excel

When is column transformation needed?

  • Standardize and structure data.

Image depicting shapes arranged in chaotic manner and then rearranged in orderly fashion

Introduction to Power Query in Excel

When is column transformation needed?

  • Standardize and structure data.
  • Data enrichment.

Illustration showing sequence of boxes with gears showing transformation steps

Introduction to Power Query in Excel

When is column transformation needed?

  • Standardize and structure data.
  • Data enrichment.
  • Calculations.

Illustration of a calculator

Introduction to Power Query in Excel

When is column transformation needed?

  • Standardize and structure data.
  • Data enrichment.
  • Calculations.
  • Storage optimization.

image of flat square icons showing progressively stacked and compressed together

Introduction to Power Query in Excel

Transformation types

Ch3_ColumnTransformationTypes.png

Introduction to Power Query in Excel

Numeric transformations

Ch3_Numeric_Transformations.png

  • Rounding values.
  • Extract numeric information (e.g., even vs odd, sign).
  • Calculate statistics (e.g., sum, count).
  • Perform arithmetic operations (e.g., addition, multiplication, percentage calculations).
Introduction to Power Query in Excel

Date/time transformations

  • Combine date/time fields.
  • Extract date or time component.
  • Round to start of the month, hour, etc.
  • Date arithmetic (e.g., age calculation, duration calculations).

Ch3_DateTime_Transformations.png

Introduction to Power Query in Excel

Text transformations

Ch3_Text_Transformations.png

  • Splitting column contents.
  • Case conversion.
  • Concatenate text.
  • Calculate text length.
Introduction to Power Query in Excel

Column transformations in Excel Power Query

Ch3_AddColumn.png

Ch3_Transform.png

Introduction to Power Query in Excel

Common misconceptions

  • Not every column needs a transformation!
  • Data transformations can be reverted.
  • Original source data remains intact.
  • Advanced technical/coding skills are often not necessary.

Illustration of a hand holding a yellow triangular warning sign

Introduction to Power Query in Excel

Let's practice!

Introduction to Power Query in Excel

Preparing Video For Download...