Pivot Table Issues

How to Prevent a Power Pivot Measure from Changing with a Slicer

Algirdas JasaitisAlgirdas Jasaitis Nov 11, 2026 869 views

Question details

The user wants to keep a calculated Power Pivot measure (like a profit percentage) fixed, preventing it from updating when a specific slicer is clicked.

How to Prevent a Power Pivot Measure from Changing with a Slicer
Product
Spreadsheet
Device & OS
not provided
Scenario
Filtering data using slicers in a dashboard or PivotTable while needing certain baseline metrics or percentages to remain static for comparison.
Observed behavior
By default, the measure recalculates dynamically based on the slicer selection, but the goal is to make the measure ignore that specific slicer filter.
Before you start

Ensure your Data Model is correctly configured and that you have access to the Power Pivot management window to edit the DAX formulas of your measures.

Solution 1Recommended

Use CALCULATE and ALL Functions in DAX

Modify your DAX measure by wrapping it in the CALCULATE function and applying the ALL function to the column controlled by the slicer, effectively overriding the filter context.

By default, any selection made in a slicer applies a filter context to all measures in your PivotTable. To bypass this, you must explicitly instruct the measure to ignore the filter on that specific column.

1
Open the Power Pivot Data Model

Navigate to the Power Pivot tab on your ribbon and click 'Manage' to open the Data Model window.

2
Select the Target Measure

In the calculation area at the bottom of your data table, click on the cell containing the measure you want to keep unchanged (for example, % PROFIT).

3
Edit the DAX Formula

Wrap your existing calculation in the CALCULATE function and add the ALL function targeting the column your slicer uses. For example: % PROFIT := CALCULATE([TOTAL PROFIT]/[TOTAL COST], ALL(DATA[Pur_Invoice])).

4
Test the Slicer

Press Enter to save your modified measure. Return to your PivotTable and click different values in your slicer to confirm the measure's value remains completely unchanged.

Use CALCULATE and ALL Functions in DAX
Filter Context Behavior: Using ALL(DATA[Pur_Invoice]) only removes the filter for that specific column. If there are other slicers or report filters applied to different columns, they will still affect the measure unless you add them to the ALL function as well.
Free Microsoft Office alternative

Need a Powerful, Free Spreadsheet Application?

While Power Pivot's DAX formulas are specific to Microsoft Excel, WPS Office provides a robust, lightweight, and completely free alternative for standard data analysis, including PivotTables, charting, and seamless Excel file compatibility.

  1. 1. Download and Install: Visit the official WPS Office website to download the free suite and follow the quick installation prompts.
  2. 2. Open Your Spreadsheet: Launch WPS Spreadsheet and easily open your existing .xlsx or .csv data files.
  3. 3. Analyze Data: Use the 'Insert' tab to create PivotTables, apply slicers, and analyze your data seamlessly.
100% free and lightweight office suiteFully compatible with Microsoft Excel formats (.xlsx and .xls)Standard PivotTables and slicers for efficient data analysisFamiliar user interface requiring zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Can I prevent a measure from changing when multiple slicers are used?

Yes. You can include multiple columns in the ALL function separated by commas (e.g., ALL(Table[Column1], Table[Column2])), or use multiple ALL statements inside the CALCULATE function to ignore multiple slicers.

Why did my measure stop updating for all filters?

If you used the ALL function on the entire table (e.g., ALL(DATA)) instead of a specific column, the measure will ignore all filters applied to any column in that table. Always specify the exact column linked to your slicer if you only want to ignore that specific one.

Can I use DAX formulas like CALCULATE in standard PivotTables?

No. Advanced DAX functions like CALCULATE and ALL require a Data Model and are native to Power Pivot. Standard PivotTables rely on basic summary functions (Sum, Count, Average) and standard calculated fields.