๐งฐ Power Query Editor Overview in Power BI โ A Beginnerโs Guide
๐
Updated: June 2025
โ๏ธ By TechTown.in
๐ Keywords: Power Query Editor, Power BI, Data Transformation, Data Cleaning, ETL Tool, Business Intelligence, No Code BI
sample file:
๐ฐ What is Power Query Editor?
Power Query Editor is the heart of data preparation in Power BI. It allows users to connect, clean, reshape, and transform data before itโs loaded into reports and dashboards.
Whether youโre working with Excel, CSV, SQL databases, or web data โ Power Query makes it possible to turn raw, messy data into clean, analysis-ready tables โ without writing code.
๐ง Think of it as Excelโs Power Tools + Automation for Business Intelligence.
๐งฉ Why Use Power Query Editor?
Most real-world datasets are:
- Inconsistent
- Contain missing or duplicate values
- Have incorrect data types
- Require combining multiple sources
With Power Query Editor, you can:
- โ Filter, clean, and correct data
- โ Merge multiple sources
- โ Apply logic (if/else, conditions)
- โ Profile column quality
- โ Automate transformations
And once set up, Power Query remembers all your steps โ perfect for recurring reports.

๐ท 1. Queries Pane (Left Side)
Displays a list of all queries in the current project.
๐ In your case:techtown_sales_data_jan2025 is the active query.
๐ You can create multiple queries, reference or merge them, and rename them here.
๐ท 2. Data Grid (Center)
This shows a preview of your dataset (not the full data yet).
Each column has:
- Header
- Data Type Icon (e.g., ABC = Text, Calendar = Date)
- Filters
- Quality Indicators (Valid, Error, Empty)
- Distribution & Uniqueness
๐ก Example from your image:
Date,OrderID,CustomerID, etc. are displayed with quality profiling- 100% valid, 0% error, 0% empty โ data looks clean
๐ท 3. Formula Bar (Just Above the Table)
Shows the M code (Power Queryโs internal language) for each transformation step.
๐ง Advanced users can edit it directly to tweak logic.
๐ Example:
= Table.TransformColumnTypes(...)
๐ท 4. Applied Steps Pane (Right Side)
Lists every step youโve applied to your data, such as:
- Source loaded
- Promoted headers
- Changed types
- Filters, merges, splits, etc.
๐ ๏ธ You can:
- Rename a step
- Delete or modify it
- Reorder steps (cautiously)
๐ท 5. Ribbon Tabs (Top Menu)
โ Home Tab
- Connect to data sources
- Close & Apply
- Manage rows/columns
- Change data types, rename, replace, sort, etc.
โ Transform Tab
- Transpose, pivot/unpivot
- Detect/modify data types
- Text, number, date functions
โ Add Column Tab
- Create columns using:
- Custom functions
- Examples
- Conditional logic
- Indexing
โ View Tab
- Toggle on/off: formula bar, column profile, column quality, distribution
- Use โQuery Dependenciesโ to view relationships
โ Tools Tab
- Diagnose performance
- Record query execution times
- Manage diagnostics settings
๐ ๏ธ Common Use Cases for Power Query
| Task | Power Query Feature |
|---|---|
| Removing duplicates | Remove Rows โ Remove Duplicates |
| Splitting names/emails | Split Column by Delimiter |
| Merging Excel sheets | Append Queries |
| Filtering invalid data | Filter Rows โ Remove Errors |
| Formatting data types | Transform โ Data Type |
| Creating new calculated fields | Add Column โ Custom Column |
๐ Example: Sales Data Cleanup
Youโre working with techtown_sales_data_jan2025, which includes:
- Date
- Order ID
- Customer details
- Product info
Using Power Query Editor, you can:
- ๐งน Clean empty or duplicate records
- ๐งฉ Merge with Customer or Product master tables
- ๐ค Format
Datecolumn properly - โ Add a column to calculate
MonthorQuarterfromDate - ๐ Profile column distribution to spot inconsistencies
โ Advantages of Power Query Editor
- No coding required
- Easy to undo any step
- Built-in data profiling tools
- Supports 70+ data connectors
- Works in Power BI, Excel, and other Microsoft tools
- Fully automatable for refreshes
๐ Supported File & Data Sources
Power Query connects to:
- Excel, CSV, JSON, XML
- SQL Server, MySQL, PostgreSQL
- SharePoint, Azure, Web APIs
- OData, Salesforce, Dynamics 365, and more
๐ง Pro Tips for Beginners
- Always check Column Quality & Data Type before loading
- Use โKeep Rows โ Top Nโ for testing on smaller data subsets
- Use โGroup Byโ to summarize data quickly
- Use โManage Parametersโ for reusable filters (like year, month)
- Learn basic M code to unlock advanced logic
๐ Learn More
- ๐ Microsoft Docs โ Power Query Overview
- ๐ฅ Download Power BI Desktop
- ๐ฅ Power BI Full Playlist (Coming soon on TechTown YouTube)
๐ Conclusion
Power Query Editor is more than a data import tool โ itโs your data refinery. With its powerful UI, no-code transformations, and profiling features, it empowers even non-technical users to perform ETL (Extract, Transform, Load) tasks like a pro.
If you’re serious about mastering Power BI, your journey starts here โ in Power Query Editor.