How to Add Value Filters to Pivot Tables
In this article
To add a value filter to a pivot table, click the drop-down arrow on a Row or Column label, select Value Filters, and choose your desired criteria (such as "Greater Than" or "Top 10"). This allows you to filter the data based on the calculated values in your pivot table rather than the text labels of the items themselves, effectively hiding rows or columns that do not meet a specific numerical threshold.
What You'll Need
- A spreadsheet application (such as Microsoft Excel or Google Sheets) with an existing dataset.
- A Pivot Table already created from that dataset.
- At least one field placed in the "Values" area of the Pivot Table (e.g., Sum of Sales, Count of Orders) to serve as the basis for the filter.
- At least one field placed in the "Rows" or "Columns" area to act as the anchor for the filter application.
Step-by-Step
- Identify the Target Field: Locate the Pivot Table in your worksheet. You must apply a value filter to a field that is currently in the "Rows" or "Columns" area. For example, if you have "Product Category" in your rows and "Total Revenue" in your values, you will apply the filter to the "Product Category" label.
- Open the Filter Menu: Click the filter drop-down arrow located in the cell containing the Row or Column label. If you do not see the arrow, ensure that "Field Headers" are enabled in your Pivot Table options. Labels and menu names may vary slightly depending on your software version or region.
- Navigate to Value Filters: In the drop-down menu, hover over or click on "Value Filters." This will open a secondary menu containing several logical operators.
- Select the Filter Rule: Choose the specific rule that fits your data needs from the list. Common options include:
- Equals: Shows only items with a value exactly equal to the number you specify.
- Does Not Equal: Hides items that match your specified number.
- Greater Than / Less Than: Filters for values above or below a specific threshold.
- Between: Filters for values that fall within a specific range (e.g., between 1,000 and 5,000).
- Top 10 / Bottom 10: Filters for the highest or lowest N items based on the value.
- Configure the Value Parameters: A dialog box will appear. In the first dropdown of this box, ensure the correct value field is selected (e.g., "Sum of Revenue"). In the input box to the right, enter the numerical value or select another field to compare against.
- Apply the Filter: Click "OK." The Pivot Table will automatically refresh, hiding all rows or columns that do not meet the criteria you defined.
- Verify the Results: Check the bottom of your Pivot Table or the status bar to see if the number of visible items has decreased. The filter icon on the row/column label will now indicate that a filter is active.
Common Mistakes
One of the most frequent errors is attempting to find the "Value Filter" option within the general "Filter" area of the Pivot Table Fields pane. The Filter area in the pane is for Report Filters (Slicers or Page Filters), which filter the entire dataset based on a category. Value Filters, however, must be accessed via the drop-down menu on the actual Pivot Table cells in the worksheet.
Another common mistake is applying a value filter to the wrong field. If you have multiple levels of rows (e.g., Region and then City), applying a value filter to the "Region" level will filter out entire regions, whereas applying it to the "City" level will only filter out specific cities within those regions. Users often get confused when the data disappears entirely; this usually happens because the filter was applied to a higher-level category that didn't meet the criteria.
Users also frequently confuse "Label Filters" with "Value Filters." Label filters look for text (e.g., "Starts with 'A'"), while value filters look at the numbers in the values area. If you try to use a label filter to find sales over $1,000, it will not work because the label filter only sees the name of the product, not the sum of its sales.
Tips
To make your data more dynamic, instead of typing a static number into the value filter box, you can sometimes reference another cell (depending on the software version) or use the "Top 10" feature to keep your report focused on the highest performers regardless of the actual dollar amount. This is particularly useful for monthly reports where the "Top 10" might change every period.
If you are using multiple value filters across different fields, remember that they act as an "AND" operation. This means a row must satisfy all active value filters to remain visible. If you find your table is empty, try clearing the filters one by one to identify which specific constraint is too restrictive.
For a more visual approach, consider using Slicers in conjunction with value filters. While Slicers are primarily for label filtering, they allow you to quickly toggle between categories, and the value filter will automatically update to show the top items within the sliced category.
Troubleshooting
The "Value Filters" option is greyed out or missing: This typically happens if you haven't added any fields to the "Values" area of your Pivot Table. A value filter requires a numerical value to compare against. Ensure you have a field set to Sum, Count, or Average in the Values quadrant of the Pivot Table pane.
The filter isn't updating when the source data changes: Pivot Tables do not always refresh automatically. If you change the numbers in your source data, the value filter may still be based on the old numbers. Right-click anywhere in the Pivot Table and select "Refresh" to update the calculations and the filter results.
I can't find the drop-down arrow on the row label: If the arrows are missing, go to the Pivot Table Analyze or Options tab on the ribbon and ensure that "Field Headers" is toggled on. If you are using a "Tabular" layout, the headers should be visible at the top of each column.
The wrong value is being filtered: If you have multiple columns in your "Values" area (e.g., Sum of Sales and Sum of Quantity), the filter dialog box allows you to choose which one to use. If your results look wrong, reopen the Value Filter menu and double-check that the correct field is selected in the first dropdown of the configuration box.
Frequently Asked Questions
Can I filter by a percentage instead of a whole number?
Standard value filters typically use absolute numbers. To filter by percentage, you should first change the "Show Values As" setting of your value field to "% of Column Total" or "% of Grand Total," and then apply the value filter to that calculated percentage.
How do I clear a value filter quickly?
Click the filter drop-down arrow on the row or column label and select "Clear Filter From [Field Name]." Alternatively, you can go to the Pivot Table Analyze tab and use the "Clear" button to remove all filters from the current table.
Does a value filter remove data from the source table?
No. Value filters only hide rows or columns within the Pivot Table view. Your original source data remains completely untouched and intact.
Can I use a value filter on a Calculated Field?
Yes, as long as the Calculated Field is placed in the "Values" area, you can apply a value filter to the row or column labels based on the result of that calculation.
Why does the "Top 10" filter sometimes show more than 10 items?
This happens when there are ties. If the 10th and 11th items have the exact same value, the Pivot Table will include both to avoid arbitrarily excluding one, resulting in more than 10 visible rows.