Power Query – Introduction

From Training Material
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Module 1: Introduction to Power Query

Objective

Get familiar with the Power Query interface and understand what it can do.

Files Used

What is Power Query?

Power Query is a data connection and transformation tool built into Microsoft Excel. It allows you to import, clean, reshape, and combine data from multiple sources.

You can find Power Query in Excel 2016 and later, under the Data tab in the section called Get & Transform Data.

Where to Find It

Steps:

  1. Open Microsoft Excel
  2. Go to the Data tab
  3. Locate the Get & Transform Data group
  4. Click Get Data to begin importing

Hands-on Exercise: Opening Power Query

Goal: Open Power Query Editor and explore its interface.

Steps:

  1. Create a new Excel workbook
  2. Go to the Data tab → Get DataFrom FileFrom Workbook...
  3. Select the file Sales_January.xlsx and click Import
  4. In the Navigator window, select the worksheet and click Transform Data
  5. In the Power Query Editor, explore:
    • Query Pane – on the left, showing query name
    • Preview Grid – data preview in the middle
    • Applied Steps – list of transformations on the right
    • Ribbon Tabs – Home, Transform, Add Column, View

Additional Exercise: Explore Other Data Sources

Goal: Explore available data sources and create dummy connections.

Steps:

  1. In Excel → Data tab → Get Data
  2. Browse the full list: try connecting to:
  3. Discuss which sources may be useful in your work.

Extension: Enable and Explore Formula Bar

Power Query has a powerful formula language (M). Let’s enable the formula bar.

Steps:

  1. In Power Query Editor, go to the View tab
  2. Tick the checkbox for Formula Bar
  3. Select a step in the Applied Steps list
  4. Observe the M code being generated
  5. Try editing a step manually (e.g., changing a column name)


Return to Main Page

→ Continue to Module 2: Importing and Managing Data.