Power Query videos teach you how to clean, transform, and combine data from multiple sources in Excel or Power BI without writing code. These videos turn raw, messy data into structured, analysis-ready tables using a visual interface. You need Microsoft Excel 2016 or later (including Microsoft 365) or Power BI Desktop installed. No programming experience is required, but basic familiarity with spreadsheets helps.

What You'll Need

  • Microsoft Excel 2016 or later (including Microsoft 365) OR Power BI Desktop (free download from Microsoft’s website)
  • A data source: CSV file, Excel workbook, database, web page, or API endpoint
  • Internet connection (to download Power BI Desktop or access online data sources)
  • Optional: A second monitor for better visibility while following along with videos

Step-by-Step

  1. Open Excel or Power BI Desktop. In Excel, go to the Data tab and click Get Data. In Power BI Desktop, click Get Data in the Home tab.
  2. Select your data source type (e.g., Text/CSV, Excel, Web, SQL Server). Click Connect. If you’re unsure, start with a local CSV or Excel file.
  3. After selecting the file, a preview window appears. Click Transform Data to open the Power Query Editor. This is where all transformations happen.
  4. In the Power Query Editor, remove unnecessary columns by right-clicking on column headers and selecting Remove. Keep only fields relevant to your analysis.
  5. Fix data types: Click the icon under each column header (e.g., ABC, 123, or clock) to change text to numbers, dates, or true/false values. Incorrect types break calculations later.
  6. Split columns if needed. For example, if a column contains full names like "John Doe", select it, go to the Transform tab, and click Split Column > By Delimiter. Choose space and split into two columns: First Name and Last Name.
  7. Remove duplicates: Select the column(s) that should be unique, go to the Home tab, and click Remove Rows > Remove Duplicates. This ensures your data isn’t inflated by repeated entries.
  8. Fill down blank cells. If a category name appears only on the first row of a group and blanks follow (e.g., Region: North, then blank rows below), select the column, go to Transform > Fill > Down. This propagates the value downward.
  9. Create custom columns for calculated fields. Go to Add Column > Custom Column. Type a formula like [Sales] * 0.1 for a 10% commission. Name the column appropriately.
  10. Apply changes by clicking Close & Load. This sends your cleaned data back to Excel as a new table or to Power BI as a dataset.
  11. Test your result: Refresh the query by right-clicking the table in Excel or clicking Refresh in Power BI. Make sure new data imported from the source still transforms correctly.
  12. Repeat the process with different sources. Try combining two tables using Merge Queries (Join) or appending them with Append Queries (Union). Watch video tutorials that show these steps side-by-side.

Common Mistakes

  • Skipping data type changes: Text that looks like numbers (e.g., "123.45") won’t calculate unless explicitly changed to Decimal Number.
  • Not refreshing after updating source files: Power Query remembers the original file path. If you rename or move the source file, the query breaks. Always keep source files in a fixed location.
  • Applying transformations too early: If you remove columns before fixing data types, you might accidentally delete columns you need later. Always review the full dataset before making irreversible changes.
  • Using manual edits instead of steps: Don’t manually delete rows in the editor. Use Remove Rows > Top/Bottom or Filter instead. Manual edits won’t update when the source changes.
  • Ignoring error rows: If a column has invalid dates or text in a number column, Power Query shows an error icon. Click the error count to review and handle them—don’t ignore them.

Tips

  • Use the Applied Steps pane on the right to see every transformation. Click any step to preview how your data looked before that step. You can delete or reorder steps if you make a mistake.
  • Save your queries as templates. In Excel, after creating a working query, go to Data > Queries & Connections, right-click the query, and select Load To. Choose Only Create Connection and uncheck Add to Data Model. Then use it as a reusable source.
  • Use the Advanced Editor to view the underlying M code. You don’t need to edit it, but seeing it helps you understand what each step does—especially when copying code from tutorials.
  • Bookmark your favorite video tutorials. Look for creators who show real-world examples like sales reports, inventory lists, or survey data—these are more helpful than abstract demos.
  • Start with small datasets (under 1,000 rows) when learning. Large files can slow down the editor and make it harder to spot errors.
  • Use meaningful names for queries and columns. Instead of "Query1", name it "SalesData_2024". This avoids confusion when you have multiple queries.

Troubleshooting

  • If the Transform Data button is grayed out: You likely selected a file that doesn’t support preview (e.g., a folder instead of a file). Go back and select the actual data file.
  • If you see "Expression.Error: The key didn't match any rows in the table": This means a Join or Merge operation failed because matching values don’t exist. Check for extra spaces, different capitalization, or mismatched data types in the key columns.
  • If your query fails after refreshing: Open the Power Query Editor > View > Advanced Editor. Look for red error messages. Common causes: changed file paths, renamed columns, or missing source files. Re-select the source file if needed.
  • If Power Query is slow: Close other Excel workbooks. Disable automatic calculation in Excel (Formulas > Calculation Options > Manual) while working in Power Query.
  • If you can’t find a transformation option: Use the search box in the Transform tab. Type "remove", "split", or "date" to find commands quickly.
  • If Power BI Desktop won’t open: Ensure your system meets minimum requirements (Windows 10 or later, 4 GB RAM). Reinstall from the official Microsoft site if corrupted.

Frequently Asked Questions

Can I use Power Query in Excel 2013?

No. Power Query was added as a free add-in for Excel 2010 and 2013, but it was fully integrated starting with Excel 2016. Use Excel 2016 or later for full support.

Do I need to know how to code to use Power Query?

No. All transformations are done with clicks and menus. The underlying M language runs in the background, but you never need to write it unless you want to customize advanced steps.

Can Power Query pull data from the web?

Yes. Use Get Data > Web and paste a URL. Power Query can extract tables from HTML pages—even if they’re not downloadable files. It handles pagination and dynamic content better than manual copy-paste.

Why does my data change when I refresh?

Power Query applies the same steps to new data. If your source adds a new column, it may appear in your result. If a column is deleted, your query might fail. Always check the source structure before refreshing.

Can I combine data from multiple Excel files?

Yes. Use Get Data > From Folder. Select a folder containing your files. Power Query will combine all compatible tables into one query. You can then filter by filename or date.

Is Power Query available on Mac?

Yes, in Excel for Microsoft 365 on Mac. The interface and steps are nearly identical to Windows. Power BI Desktop is not available for Mac, but you can use Power BI Service in a browser.