How to Go Back to Power Query in Power BI

Cody Schneider8 min read

The real power of Power BI doesn't come from making pretty charts, it comes from transforming messy, real-world data into a clean, reliable foundation for those charts. That transformation happens in the Power Query Editor. This article will show you the exact steps needed to get into the Power Query Editor, whether you're bringing in new data or need to adjust a report you've already built.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

What is Power Query and Why Isn’t My Data Ready By Default?

Think of the Power Query Editor as the kitchen for your data. Before you can serve up a beautiful visual report (the meal), you need to prep your ingredients. Few data sources are perfect right out of the box. They often contain typos, empty rows, inconsistent formatting, or are structured in a way that’s difficult to analyze.

The Power Query Editor is Microsoft’s data transformation and preparation engine. It's built into Power BI, Excel, and other Microsoft products. Its entire job is to help you:

  • Connect to Data: Pull information from hundreds of different sources, from simple Excel files to complex enterprise databases like SQL Server or Salesforce.
  • Clean Your Data: Fix errors, remove duplicates, handle missing values, and standardize text so that "USA" and "United States" are treated as the same thing.
  • Reshape Your Data: Pivot columns, combine tables, split one column into many (like splitting a full name into first and last names), and prepare your data model for optimal performance.
  • Create New Columns: Add custom calculations or conditional columns based on your existing data to bring more context to your analysis (e.g., creating a "Profit" column from "Sales" and "Cost" columns).

Without these steps, your reports would be built on a shaky foundation, leading to inaccurate visuals and bad business decisions. Learning to navigate back to the Power Query Editor is a fundamental skill for anyone serious about using Power BI.

Two Simple Paths to the Power Query Editor

There are two primary scenarios where you'll need to open Power Query. The first is when you’re initiating a new project, and the second is when you need to make changes to an existing one. We’ll cover both.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Method 1: When Loading New Data Into Power BI

This is the most direct route into the Power Query Editor. When you start building a new report, your first step is always to bring in data. Following this process naturally guides you to the transformation stage.

Step 1: Get Data In Power BI Desktop, navigate to the Home tab on the top ribbon. The very first section is labeled "Data." Click on the prominent Get data button. Select your data source from the list. For this example, we’ll use a common source like Excel workbook.

Step 2: Select Your Information After you select and open your file, Power BI will show a Navigator window. This window lets you preview the sheets or tables within your file. Check the box next to the data you want to import.

Step 3: Click "Transform Data" Here is the crucial step. At the bottom of the Navigator window, you have three options: Load, Transform Data, and Cancel.

  • Load: This option dumps the data into your Power BI model as-is, skipping the cleaning process. Only choose this if you are 100% confident your data is perfect.
  • Transform Data: This is your button. Clicking this one will open the selected data directly in the Power Query Editor, allowing you to begin cleaning and shaping it before it ever hits your data model.

Choosing "Transform Data" is almost always the best practice. It’s better to inspect your data first than to load it and have to fix it later.

Method 2: How to Go Back to Power Query From Your Report

This is the most common scenario. You’ve already loaded your data, built a few visuals, and then you spot an error. Maybe a date is being treated as text, or a new source of messy data has been added. You need to go back and edit the transformation steps.

The process is incredibly simple once you know where to look.

Step 1: Go to the Home Tab You are likely in the main report or data view of Power BI Desktop. Ensure you've clicked on the Home tab on the top ribbon menu.

Step 2: Find the "Transform data" Button Look for the "Queries" section on the Home ribbon (around the middle). You'll find a button labeled Transform data. Clicking this will launch a new window: the Power Query Editor.

Quick Alternative: Using the Data Pane

For an even faster shortcut, you can go through the Data pane on the right-hand side of your report view.

  • Find the dataset (query) you want to edit in the list.
  • Right-click on the data source's name.
  • From the context menu, select Edit query. This action also opens the corresponding query in the Power Query Editor.

This method is particularly handy when you have multiple datasets and want to jump directly to a specific one for edits.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

A Quick Tour of the Power Query Editor

Once you’re in, it’s helpful to understand the main components you’re looking at.

The Power Query Editor is a separate window from the main Power BI report builder and is divided into a few key areas:

  1. The Ribbon: Across the top, just like in the main Power BI window, you have a ribbon with a series of tabs (Home, Transform, Add Column, View). This is where you find all your transformation tools, like "Split Column," "Remove Rows," or "Group By."
  2. Queries Pane (Left): This pane lists every data query you've loaded in this file. You can click on each one to view its data and edit its transformation steps independently.
  3. Data Preview (Center): A grid view showing you a sample of your data. As you apply transformations, you’ll see the changes reflected here in real time.
  4. Query Settings Pane (Right): This is the most important part. A section called APPLIED STEPS lives here. Every single change you make - filtering a column, replacing a value, changing a data type - is recorded as a step in this list. This is a running history of your data cleaning process. You can click a previous step to see what the data looked like at that point, edit an existing step, or delete a step by clicking the 'X' next to its name. It's incredibly powerful and allows for easy, non-destructive editing.

Practical Example: Cleaning Up Messy Sales Data

Let's walk through a quick, relatable scenario to see this in action.

Imagine you've loaded an Excel file with website traffic data. From your main report view, you notice a problem: the "SessionDate" is on the left side of the column, which often means Power BI sees it as text instead of a proper date. You can't analyze trends over time like this.

Step 1: Go Back to Power Query From the main Power BI report view, go to the Home tab and click Transform data. The Power Query Editor opens.

Step 2: Select the Problem Column In the editor, find and click on the header of the "SessionDate" column to select it.

Step 3: Change the Data Type On the Home tab ribbon, look for the "Data Type" dropdown (which probably says "Text"). Click it and change the selection to Date. You can also find this option on the Transform tab. Immediately, you'll see the data in the column align to the right, and a new step called "Changed Type" will appear in your APPLIED STEPS list.

Step 4: Remove Blank Rows As you re-examine the data, you see some empty rows at the bottom caused by formatting in the source spreadsheet. On the Home tab, click Remove Rows and then choose Remove Blank Rows. The blank rows disappear from the preview, and a "Removed Blank Rows" step is added to the list.

Now, your data is much cleaner and ready for proper time-based analysis.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Returning to Your Report: Close & Apply

Once you’re finished with all your data transformations, you're ready to send this newly cleaned data back to your main Power BI canvas to start building visuals.

Located in the top-left corner of the Power Query Editor's Home tab is the Close & Apply button. When you click this button, two things happen:

  1. The Power Query Editor window closes.
  2. Power BI applies all the steps you created to your entire dataset (not just the preview) and loads the results into your data model.

After a short loading period, you will be back in the main report view. Your data in the "Data" pane on the right will be updated and clean, reflecting the changes you just made.

Final Thoughts

Getting back into the Power Query Editor is a simple click on the "Transform data" button, but knowing how and when to do it is what separates basic users from proficient ones. By editing queries, you ensure your data model is clean, efficient, and reliable, which is the cornerstone of any impactful report or dashboard.

While the process in Power BI and other business intelligence tools offers huge control over data, all this clicking, cleaning, and transforming still consumes a lot of time - the time businesses often don’t have. At Graphed, we’ve built an AI-powered data analyst to remove this friction entirely. Instead of opening editors and manually applying steps, you just connect your sales and marketing data sources once, then ask for what you need in plain English. We automate the data connection and report building so you can get answers and insights in a matter of seconds, not hours.

Related Articles

How to Enable Data Analysis in Excel

Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!