Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
leahschneider
Helper III
Helper III

Slicer Application Order in Dax

Is there a way to change the order in which a slicer acts on a DAX equation? For example I want to see a total sales amount for all products that sold more than 100 units. I have a slicer on store. When the slicer shows one store, the DAX equation of CALCULATE(SUM(Sales), Quantity > 100) would show the total sales in that store for each product that sold more than 100 units in that store. The slicer is applied before the calculate. What I'd like to do is to show the total sales in that store for each product that sold more than 100 units in total (not in the selected store). The slicer is applied after the quantity calculation but before the sum.

2 REPLIES 2
FreemanZ
Super User
Super User

hi @leahschneider 

interesting and legitimate requirement. 

 
i am afraid not, but you can use ALL to ignore the store context, try like:
CALCULATE(
    SUM(Sales), 
    Quantity > 100,
    ALL(TableName[Store])

As far as I can tell, that will remove the store context entirely which is not what I'd like to do.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.