Power Query Online lets you clean, combine, and transform data directly in Excel for the web without installing desktop software. It’s ideal for users who need to refresh reports from cloud sources like SharePoint, OneDrive, or SQL databases while working in a browser. No installation is required beyond a Microsoft 365 subscription with Excel for the web access.

What You'll Need

  • A Microsoft 365 subscription that includes Excel for the web (Business Standard, Business Premium, E3, E5, or similar)
  • Access to data stored in supported locations: OneDrive, SharePoint, Excel files, CSV, JSON, or web tables
  • A modern web browser (Chrome, Edge, or Firefox)
  • Permissions to open and edit the source file in Excel for the web

Step-by-Step

  1. Open your Excel file in Excel for the web by navigating to OneDrive or SharePoint, selecting the file, and clicking Open in Excel for the web.
  2. Ensure your data is in a table format. Select any cell inside your data range, then go to the Data tab on the ribbon and click From Table/Range. If your data isn’t formatted as a table, Excel will prompt you to convert it—click OK.
  3. Power Query Editor will open in a new browser tab. Here, you’ll see a preview of your data with column headers and sample rows. The left panel shows the applied steps; the center shows the data grid.
  4. To remove unwanted columns, right-click a column header and select Remove. To rename a column, double-click its header and type a new name.
  5. To change data types, click the icon next to a column header (e.g., ABC, 123, or ABC123). Choose the correct type: Text, Whole Number, Decimal Number, Date, or Logical.
  6. To filter rows, click the dropdown arrow in a column header and uncheck values you want to exclude. For example, uncheck (blank) to remove empty rows.
  7. To split a column, select the column, go to the Transform tab, and choose Split Column. Pick a delimiter like Comma, Space, or Custom. Follow the prompts to split into multiple columns.
  8. To combine columns, select multiple columns (hold Ctrl while clicking), right-click, and choose Combine Columns. Choose a separator like Space or Hyphen.
  9. To remove duplicates, select any column, go to the Home tab, and click Remove Rows > Remove Duplicates.
  10. To add a custom column, go to the Add Column tab, click Custom Column. In the dialog, enter a name (e.g., Total Cost) and a formula like [Price] * [Quantity]. Click OK.
  11. When done, click Close & Apply in the top-left corner. Excel for the web will refresh the worksheet with your transformed data.
  12. To refresh later, go to the Data tab and click Refresh All. This pulls in new data from the source if it has changed.

Common Mistakes

  • Trying to use Power Query on data that isn’t formatted as a table—Excel may not recognize the range correctly, leading to missing rows or columns.
  • Changing data types after applying filters or transformations that rely on original values—this can break queries and cause errors.
  • Using unsupported functions in custom columns (e.g., complex text functions or references to other sheets)—Power Query Online supports only a subset of functions available in the desktop version.
  • Assuming Power Query works on data stored locally on your computer—only files in OneDrive or SharePoint are accessible in Excel for the web.
  • Forgetting to click Close & Apply after editing—changes won’t save unless you explicitly close the Power Query Editor.

Tips

  • Use the View tab in Power Query Editor to toggle Query Settings and review each transformation step—this helps you debug issues later.
  • Before combining multiple files, ensure they have identical column structures. Mismatched columns will cause errors during merge operations.
  • Use Advanced Editor (under the View tab) to see the underlying M code. You can copy and paste code from desktop Power Query if you’re familiar with it.
  • For large datasets, limit transformations to only what’s necessary. Too many steps can slow down refresh times in the browser.
  • Save your Excel file frequently. Power Query changes are saved automatically with the file, but browser sessions can time out.
  • Use Sample mode (available in the Home tab) to test transformations on a smaller dataset before applying them to the full table.

Troubleshooting

  • If From Table/Range is grayed out, your data isn’t selected correctly. Click any cell inside the data range, then retry.
  • If Power Query Editor fails to load, refresh the browser tab. If it still fails, check your internet connection or try a different browser.
  • If you see an error like Could not load data, verify the source file hasn’t been moved, renamed, or deleted from OneDrive or SharePoint.
  • If columns disappear or show Expression.Error, check the step before the error in the Query Settings panel. Often, a renamed or deleted column breaks downstream steps.
  • If refresh fails after saving, ensure you have edit permissions on the source file. Try signing out of Microsoft 365 and signing back in.
  • If the Close & Apply button doesn’t respond, wait up to 30 seconds. Large datasets take time to process. If it still hangs, close the tab and reopen the file to retry.

Frequently Asked Questions

Can I use Power Query Online without a Microsoft 365 subscription?

No. Power Query in Excel for the web requires a Microsoft 365 subscription that includes Excel. Free versions of Excel (like those on mobile or web-only) do not support it.

Can I connect to databases like SQL Server or Salesforce using Power Query Online?

No. Direct connections to external databases or APIs are not supported in Excel for the web. Only file-based sources like Excel, CSV, JSON, and web tables are available.

Can I share a workbook with Power Query transformations with others?

Yes. When you save the file to OneDrive or SharePoint, others with appropriate permissions can open it and refresh the data. They don’t need Power Query knowledge—only Excel for the web access.

Why does my data refresh slowly in the browser?

Power Query Online processes data on Microsoft’s servers, and large datasets or complex transformations take longer. Reduce steps, filter early, or use smaller sample sizes to speed it up.

Can I undo a step in Power Query Online?

Yes. In the Query Settings pane on the left, click the X next to any step you want to remove. The data will update automatically.

Does Power Query Online work on mobile browsers?

No. Power Query Editor is not supported on mobile browsers. Use a desktop or laptop browser for full functionality.