Filtering in Power Query Editor is done with the filter arrow on a column header: click the small dropdown arrow next to the column name, tick or untick values, or open the filter menu to build a condition (equals, contains, greater than, between a date range, and so on), then click OK. The result is a filter step named after the column appended to the Queries pane on the right, which you can edit or delete at any time. Nothing is destroyed in the source file, filters only change the shape of the data that loads into Excel or Power BI. The steps below apply to the Power Query Editor in Excel and Power BI Desktop, the two places most people meet it. Labels can differ slightly by version and by where Power Query is running.

What You'll Need

  • A table, named range, CSV, database connection or other data source already connected to Excel or Power BI.
  • Access to the Power Query Editor. In Excel, go to Data, then Get & Transform Data, then Launch Power Query Editor. In Power BI Desktop, click Transform Data on the Home ribbon.
  • A clear idea of the filter you want in plain words, for example "orders after 1 January" or "only the North and West regions."
  • Confirmation of the column data types. Click the small icon in the left of a column header; it should show text for text, a calendar for dates, and a 1,2,3 icon for numbers.

Step-by-Step

  1. Open the query you want to change. In the Queries pane on the left of the Power Query Editor, click the query name. The data preview appears in the middle and the Applied Steps list appears on the right.
  2. Check data types first. Wrong types are the main reason filters misbehave. If a date column shows a text icon, click the icon and pick Date. If a number column is stored as text, pick Decimal Number or Whole Number. Confirm the change in the dialog that warns you about changing the type.
  3. Click the filter arrow. Each column header has a small arrow. Click it. A checklist of the distinct values in that column opens, with any currently filtered value shown at the top.
  4. Decide between a value filter and a text or number filter. Unticking individual values is a value filter, best for short lists. Scrolling to the bottom of the dropdown gives Text Filters (for text columns), Number Filters (for numbers) or Date Filters (for dates), which open a dialog for conditions.
  5. Untick the values you do not want. Use the search box at the top of the list to find a value quickly, then untick it. Click OK. A new step appears in Applied Steps and the preview updates to the filtered rows.
  6. Or build a condition. For example, open Number Filters and choose Greater Than, then type a value and click OK. For a range of dates, open Date Filters and choose Between, then enter a start and end date. Watch the date format the dialog expects, it follows your system locale.
  7. Combine conditions carefully. If you need two rules, for example region equals North and sales greater than 100, run one filter first, then open the filter menu on the same column or a second column and add the next. Keep in mind that the filter arrow turns into a small filter icon to show the column is filtered.
  8. Use a text filter with the right option. Text Filters offers options such as Equals, Does Not Equal, Begins With, Ends With and Contains. The options are case sensitive in some connectors and not in others, so test the result in the preview before moving on.
  9. Rename the step if it matters. Double-click the step in Applied Steps and give it a clear name such as "Keep 2025 orders". You or a colleague will read this list later.
  10. Close and load. Click Close & Load (Excel) or Close & Apply (Power BI) on the Home ribbon. The filtered data now flows into your workbook or model.

Common Mistakes

Filtering on the wrong type. If a date column is stored as text, a Date Filters menu may not offer Between correctly, or rows sort alphabetically. Fix the type before filtering and re-check the filter.

Assuming the source changed. Power Query filters do not delete rows in the original file or database. If you want the unpolluted data back, open Applied Steps, find the filter step and click the X next to it to remove it.

Building a filter on top of a filter by accident. When a column is already filtered, the dropdown shows the existing condition. Clicking a different option can add a second condition instead of replacing the first, leading to fewer rows than expected. Delete the old step if you intended to replace it.

Hiding rows instead of removing them. Typing manually over the preview, or using the filter arrow to hide a value, is sometimes confused with deleting a column or row. Deleting rows by right-clicking the selected rows and choosing Remove Rows is a different operation with a different step name.

Forgetting downstream tools. A filter can break a pivot or formula that expects a particular category. If a value disappears from your report after a refresh, check Applied Steps for a recent filter.

Ticking nothing. Clicking OK with every box unticked produces an empty table. If the preview goes blank, reopen the filter and restore the boxes.

Tips

Filter as early as you can in the step list, before merges and other heavy transformations, so later steps process less data.

Prefer conditions over long untick lists. Ticking 40 values is fragile, a condition such as Begins With or Greater Than keeps working when new values arrive.

Use the search box in the value list to find text quickly rather than scrolling thousands of rows.

Keep filter steps near each other and give them clear names, so the Applied Steps list reads like a short recipe.

Remember that a query filter is dynamic. If the source gains a new region or product, it will show up on refresh unless your condition excludes it.

For date ranges that move, remember the current date option in Date Filters if your version of Power Query offers a relative date menu, and confirm the preview shows the rows you expect.

Troubleshooting

If the filtered table is empty, reopen the filter and check your conditions. Two conditions joined with And, such as a date after 1 January and a date before 1 January, cancel each other out.

If a filtered column returns errors instead of rows, the data type is likely wrong. Delete the filter step, fix the type, then reapply the filter.

If date filters behave oddly, look at the date format in the source. A day-month-year column read as month-day-year can put rows on the wrong side of a Between range.

If your filter disappears after a refresh, check whether the step is present in Applied Steps. A step deleted by mistake breaks later steps, so undo with Ctrl+Z if you are still in the editor.

If a merge or pivot returns nothing after filtering, the filter may have removed the matching rows. Remove the filter step temporarily to test.

If the editor will not load at all, close the dialog and reopen it, check for pending updates, and in Power BI use the file menu to restart the program before assuming the query is broken.

Frequently Asked Questions

Do Power Query filters change the original data source?

No. Filters exist only inside the query. The source file, table or database is untouched.

How do I remove a filter?

Click the X next to the filter step in Applied Steps, or reopen the column dropdown and clear the conditions. Either way the rows come back on refresh.

What is the difference between AND and OR in the filter dialog?

AND keeps a row only if both conditions are true, OR keeps a row if either one is true. Choosing the wrong one is the most common cause of an empty or overfull table.

Can I filter by a list of values from another query?

Yes in Power BI, where the filter dialog can offer values from another query. If your version does not show that option, the alternative is a merge against the source list and a filter on the joined column.

Why does my filter flag a column as text?

There are likely blank cells, mixed formats or leading spaces. Click the header type icon, choose the correct type, then clean the text with Trim or Replace Values if the error remains.