Power Query Editor in Power BI (original) (raw)

Last Updated : 20 Mar, 2026

Power Query Editor is a Power BI tool used to transform and prepare data. It lets users connect and clean data from multiple sources, then load it for analysis. It is available in Desktop and Online modes. To understand its use more clearly:

Launching Power Query Editor

To open the Power Query Editor, click Transform Data under the Home tab in Power BI Desktop. This opens the editor where you can load and transform your data. After opening, you can proceed with the following:

lauch.png

Launching Power Query Editor

Importing Data

list.png

My Movie List.xlsx

On loading this data on the query editor it appears as:

list-2.png

Excel sheet in the power query editor

Common Data Transformations

1. Renaming Elements

The power query editor provides us with a variety of possible renaming. We can rename the data sources or tables, columns and queries. We will look into each of them one by one.

**Rename Data Source

rename-@.png

Renamed source to "Movie Data"

**Rename Column

rename-b.png

Renamed column to "MOVIE NAME"

**Rename Query

rename-c.png

Renamed query to "Columns Name Updation"

40.png

Set First Row as Headers

3. Change Data Types of a Column in Power BI

20.png

Changed data type to "Decimal Number"

4. Format Operation in Power BI

The Format feature in the Transform tab is used to modify and clean text data in Power BI. It includes:

30.png

Formatting the text to UPPERCASE

5. Removal Operation in Power BI

**Remove Row Operation

The Reduce Rows feature in the Home tab is used to remove unwanted rows in Power BI. It provides options to remove or keep specific rows based on your requirement. It includes:

50.png

Removing the bottom row

**Remove Column Operation

The Remove Columns feature is used to delete one or more columns in Power BI. It is available under the Home tab in the Manage Columns section. It includes:

remove-column.png

Removing Column Rating

**Output:

output_remove_column.png

"RATING" column has been successfully removed.

6. Merge Operation in Power BI

The Merge Columns feature is used to combine multiple columns into one. It is available under the Add Column tab. It includes:

60.png

Merging Columns GENRE and RATING

**Output:

output-of-6.png

Merged Column

7. Replace Values Operation in Power BI

Replace values operation replaces some specific value to our desired value. It's present in the "Transform" bar as "Replace Values". Here, we have replaced "null" to "geeksforgeeks" for column "GENRE".

71.png

Replacing values of column "GENRE"

72.png

Replacing "null" to "geeksforgeeks"

**Output:

73.png

Successfully Replaced

8. Split Column Operation in Power BI

The Split Column feature is available under the Transform tab and is used to divide a column into multiple columns. It includes:

81.png

Splitting column "Merged"

**Before

before.png

Before Split Scenario

**After

after.png

After Split Scenario

9. Pivot Column Operation in Power BI

The Pivot Column feature is used to convert rows into columns. It is available under the Transform tab in Power BI. It includes:

pivot.png

Pivot column "Field 2"

10. Unpivot Column Operation in Power BI

The Unpivot Column feature is used to convert columns into rows, which is the opposite of pivot. It gathers similar values under a single column with corresponding labels. It includes:

100.png

Unpivot operation implemented on Field 1 and Field 2 both

**Output:

101.png

On unpivoting both the columns