How to Prevent a Power Pivot Measure from Changing with a Slicer
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.

- 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.
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.
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.
Navigate to the Power Pivot tab on your ribbon and click 'Manage' to open the Data Model window.
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).
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])).
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.

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. Download and Install: Visit the official WPS Office website to download the free suite and follow the quick installation prompts.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and easily open your existing .xlsx or .csv data files.
- 3. Analyze Data: Use the 'Insert' tab to create PivotTables, apply slicers, and analyze your data seamlessly.

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.




