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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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