jypi
  • Explore
ChatWays to LearnMind mapAbout

jypi

  • About Us
  • Our Mission
  • Team
  • Careers

Resources

  • Ways to Learn
  • Mind map
  • Blog
  • Help Center
  • Community Guidelines
  • Contributor Guide

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Content Policy

Connect

  • Twitter
  • Discord
  • Instagram
  • Contact Us
jypi

© 2026 jypi. All rights reserved.

Power BI fundamentals for beginners
Chapters

1Business Intelligence and Power BI Overview

2Setting Up Power BI Desktop

3Connecting to Data Sources

4Power Query Fundamentals

Power Query Editor tourApplied Steps conceptPreview vs data modelColumn profilingHandling data typesRemove and keep rowsFilter and sortSplit and merge columnsGroup By operationsAppend and Merge queriesManage queries and referencesBest practices in Power Query

5Data Transformation with M

6Data Modeling and Relationships

7DAX Fundamentals

8Time Intelligence and Advanced DAX

9Visualizations Basics

10Advanced Visuals and Interactions

11Report Design and UX Practices

12Power BI Service and Collaboration

13Data Refresh and Deployment

14Security, Governance, and Performance

Courses/Power BI fundamentals for beginners/Power Query Fundamentals

Power Query Fundamentals

1 views

Use Power Query to profile, clean, and shape data before loading it into your model.

Content

1 of 12

Power Query Editor tour

The No-Chill Tour of the Power Query Editor
1 views
beginner
humorous
visual
data analytics
gpt-5
1 views

Versions:

The No-Chill Tour of the Power Query Editor

Watch & Learn

AI-discovered learning video

Sign in to watch the learning video for this topic.

Sign inSign up free

Start learning for free

Sign up to save progress, unlock study materials, and track your learning.

  • Bookmark content and pick up later
  • AI-generated study materials
  • Flashcards, timelines, and more
  • Progress tracking and certificates

Free to join · No credit card required

Power Query Editor Tour: Where Messy Data Goes To Get Its Life Together

You clicked 'Transform Data'... and now you're in a new universe. Don’t panic. This is just where the glow-up happens.

We already danced through connecting to data, flirting with privacy levels, and speed-dating tables in the Navigator. Now we step backstage into the Power Query Editor — the workshop where you clean, shape, and basically convince your data to behave before it ever meets the report canvas.

Why this matters: clean data in, clean visuals out. If your charts look shady, it’s probably because you skipped this room.


The Map: What You’re Looking At

Power Query Editor has four major zones you’ll use constantly:

  • Left pane: Queries — the playlist of all queries you’re building
  • Center: Data preview grid — a safe sandbox sample, not the full dataset (by default)
  • Right pane: Query Settings — the brain; it holds your query name and Applied Steps
  • Top ribbon: Tabs with tools — Home, Transform, Add Column, View
  • Optional but crucial: Formula bar — your peek into M code (turn it on in View)

Here’s your vibes-at-a-glance cheat sheet:

Area Purpose Power Moves Watch-outs
Queries pane See all queries, group them, toggle load Right-click to Duplicate vs Reference 'Enable load' off = staging only, won’t show in report
Data preview Preview and test transformations Filter, sort, right-click columns It’s usually a sample; switch profiling to entire dataset for accuracy
Query Settings Rename query, manage Applied Steps Reorder steps, rename steps, gear icon to edit Step order matters; moving a step can break later logic
Ribbon Where the tools live Use Combine, Group By, Pivot/Unpivot Don’t shotgun-click; each click creates a new step

Quick Tour of the Ribbon Tabs (aka Buttons With Consequences)

Home tab: The Essentials

  • Close & Apply: Commits your changes to the data model. Use the dropdown if you want to apply without closing or to discard changes.
  • New Source and Recent Sources: Add more data without leaving the editor. This is where privacy levels still matter when combining.
  • Manage Parameters: Create reusable values (e.g., a file path) so you don’t hardcode things like it’s 2009.
  • Combine (Merge/Append):
    • Merge = join queries by a common column (think VLOOKUP but not cursed).
    • Append = stack queries on top of each other (same columns, more rows).
  • Keep/Remove Rows, Use First Row as Headers, Remove Columns: Your basic cleanup kit.

Transform tab: Actually Changing Data

  • Data Type: Set column types intentionally (Text, Whole Number, Decimal, Date/Time, etc.). This is sanity.
  • Replace Values, Format (uppercase, trim), Extract (first/last chars), Parse (JSON/XML), and Split Column.
  • Group By: Summarize by one or more keys — hello, tidy aggregations.
  • Pivot/Unpivot: Reshape the dataset. Unpivot takes many columns and turns them into rows; pivot does the opposite.
  • Fill Down/Up: Propagate values into blanks, especially after splitting or sorting.

Add Column tab: Bring New Columns to the Party

  • Custom Column: Write expressions to create new columns (with M). If Excel formulas were a cousin, M is the surprisingly capable one.
  • Conditional Column: If this then that, no code needed.
  • Index Column: Add row numbers for sorting, dedup tricks, or merges.
  • Invoke Custom Function: Apply your parameterized logic over a table like a pro.

View tab: See the Truth (or at least a better version of it)

  • Formula Bar: Toggle it on. Please. It’s your step-by-step narrative in M.
  • Column Quality, Column Distribution, Column Profile: Turn these on to see validity, uniqueness, and summary stats. Switch to 'Based on entire dataset' when accuracy matters.
  • Query Dependencies: A map of how queries feed each other — perfect for debugging and bragging.
  • Advanced Editor: Full M code view. Looks scary, isn’t. You got this.

Applied Steps: Your Time Machine

Every action creates a step. Steps stack top-to-bottom and build a transformation pipeline.

  • Rename a step: Right-click the step name to keep things readable (e.g., 'Split_ProductCode' beats 'Removed Columns1').
  • Reorder with care: Moving steps can break references; think of it like changing history in a time-travel movie.
  • Gear icon: Some steps (like 'Source', 'Split Column', 'Group By') have a settings dialog you can re-open.
  • Delete a step: If a later step depends on it, you’ll get an error — fix or reorder.

Pro tip from your future self: set data types as early as possible. Many transformations behave differently depending on type.


Duplicate vs Reference: The Fork in the Query Road

  • Duplicate: Makes a full copy of the query and all its steps. Independent from then on.
  • Reference: Creates a new query that starts from the result of another. Lighter, keeps a single source of truth.

Use cases:

  • Staging query: Pull and do basic cleanup once. Reference it to create multiple shaped outputs (e.g., one for sales by region, one for product hierarchy). Uncheck 'Enable load' on the staging query so it doesn’t clutter your model.

Column Profiling: Catch Problems Before They Catch You

Remember the connection troubleshooting drama? Here’s the calm after:

  • Turn on Column Quality: See valid/error/empty percentages.
  • Column Distribution: Spot cardinality and weird spikes.
  • Column Profile: Hover for stats, min/max, even little histograms.
  • Sample vs entire dataset: For big data, preview uses a sample. Flip to full profiling when suspicious patterns show up.

If you see a lot of 'error' on a numeric column, check data type or try Replace Values to handle rogue text like 'N/A'.


M Code: The Script Behind the Scenes

Power Query speaks M. You don’t need to be fluent, but knowing a few phrases is empowering. Open the formula bar and watch how each step corresponds to code:

let
    Source = Excel.Workbook(File.Contents("C:\Data\Sales.xlsx"), null, true),
    Sales_Sheet = Source{[Name="Sales"]}[Data],
    PromotedHeaders = Table.PromoteHeaders(Sales_Sheet, [PromoteAllScalars=true]),
    ChangedTypes = Table.TransformColumnTypes(PromotedHeaders, {{"Date", type date}, {"Amount", type number}}),
    FilteredRows = Table.SelectRows(ChangedTypes, each [Amount] > 0),
    AddedRegion = Table.AddColumn(FilteredRows, "Region", each if Text.StartsWith([StoreID], "N") then "North" else "Other", type text)
in
    AddedRegion
  • Each line after 'let' is a step; the names match your Applied Steps.
  • The 'in' statement specifies the final step to output.
  • You can rename steps and use them as variables — clean names make debugging painless.

Common Transform Magic Tricks (That Make You Look Unreasonably Competent)

  1. Unpivot Columns for tall, tidy data:

    • Select the columns you want to keep as identifiers (e.g., Product, Store), then Unpivot Other Columns. Boom: Month names become one 'Attribute' column, values go into 'Value'.
  2. Group By for summaries:

    • Group by Customer, aggregate Amount as Sum and Count Rows. You’ve just built a mini pivot table without leaving the editor.
  3. Split Column by Delimiter:

    • Got 'SKU-Color-Size'? Split by '-' and rename. Pair with Fill Down for hierarchical data.
  4. Merge Queries for lookups:

    • Choose the key columns on both tables, pick the join type (Left Outer is the safe starting point), expand the columns you need. Privacy levels matter here — mixing Private and Public sources can trigger data isolation rules.

Why People Keep Misunderstanding This

  • They treat it like Excel: Power Query is not a spreadsheet; it’s a step-based transformation engine. No reference traps, just documented steps you can rerun.
  • They skip naming things: Cryptic step names lead to tears during debugging.
  • They fear the code: The formula bar is your friend. Even small edits (like changing a delimiter) are straightforward once you peek under the hood.

Quick Mini-Challenge: From Mess to Yes

  • Turn on Column Quality and find a column with errors. What’s causing them — type mismatch or dirty values?
  • Create a Parameter for a folder path, then build a query that pulls all files from that folder. Reference it for different filters.
  • Try Unpivot on a 'wide' calendar table and see how it reshapes. Then undo with Ctrl+Z and do it intentionally.

Bringing It Back to Connections

  • Navigator gave you the right table; Power Query makes it the right shape.
  • Privacy levels you set earlier still govern how data combines during merges and appends.
  • If you got connection errors before, the Applied Steps sequence helps isolate where things break. Step back one by one to find the last good state.

Wrap-up: The Editor Is Your Superpower

  • Power Query Editor is the data gym: you train messy inputs into clean, model-ready tables.
  • The layout is consistent: queries left, preview center, steps right, tools on top.
  • Every click is a recorded, repeatable step. That’s maintainability, not magic.
  • Use profiling to catch issues early, and name your steps like you care about future-you.

Big insight: Better data modeling starts here. Fix it upstream, and your DAX and visuals become dramatically simpler.

When you’re satisfied, use 'Close & Apply' and watch your model ingest the results. Next stop: shaping multiple tables and relationships like a benevolent data architect. Snack break optional, swagger required.

Flashcards
Mind Map
Speed Challenge

Comments (0)

Please sign in to leave a comment.

No comments yet. Be the first to comment!

Ready to practice?

Sign up now to study with flashcards, practice questions, and more — and track your progress on this topic.

Study with flashcards, timelines, and more
Earn certificates for completed courses
Bookmark content for later reference
Track your progress across all topics