Filtering in Excel hides rows, but the hidden rows are still there, and a SUM over the range can still include them. Filtering in Power Query removes the rows from the loaded table, so the result is a clean table that refreshes with the source.
Prerequisites
- Excel with Power Query
- A table to filter
- A copy of the source file, so the original stays untouched.
Steps
- Select the table and go to Data, From Table/Range to open it in the Power Query Editor.
- Click the filter arrow on the column to filter, and choose the values or condition to keep.
- Check the row count before and after the filter, and confirm the kept rows are the right ones.
- If the filter is a date or number condition, use the Number Filters or Date Filters menu so the condition is explicit.
- Click Close and Load, then check the loaded table against the source.
Worked example: Fictional orders filtered to November 2026
The practice table below is a fictional five-order list after filtering to November. Each amount is the order total, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.
| Order | Date | Amount |
|---|---|---|
| Order 701 | 2026-11-03 | 42.00 |
| Order 702 | 2026-11-08 | 18.50 |
| Order 703 | 2026-11-15 | 27.75 |
| Order 704 | 2026-11-21 | 63.25 |
| Order 705 | 2026-11-28 | 35.00 |
| Total | 186.50 |
Expected result. Five November orders kept, each date in November 2026, and the amounts add to 186.50.
Limits
- A filter in Power Query removes rows from the loaded table, so a filtered-out row cannot be recovered from the result.
- A filter on a text column is case-sensitive in some settings, so check the spelling of the values kept.
