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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

filtering a measure

SUMX(FILTER(Cancellations, Cancellations[status]="order confirmed"),1) 

Im trying to get a static figure for "order confirmed" even when i select other status's on another slicer, is this possible? 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

ALL  function should help you in your scenario, please refer to the online document.

https://docs.microsoft.com/en-us/dax/all-function-dax

 

Also one sample for your reference, here we can create a measure as below to work on it.

Measure =
CALCULATE (
    SUM ( 'Table'[value] ),
    FILTER ( ALL ( 'Table' ), 'Table'[status] = "order confirmed" )
)

 

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

ALL  function should help you in your scenario, please refer to the online document.

https://docs.microsoft.com/en-us/dax/all-function-dax

 

Also one sample for your reference, here we can create a measure as below to work on it.

Measure =
CALCULATE (
    SUM ( 'Table'[value] ),
    FILTER ( ALL ( 'Table' ), 'Table'[status] = "order confirmed" )
)

 

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi @Anonymous ,

 

the simplest way, probably, is disconnect the visual from the filter/slicer in Format->Edit Interactions.

If you need other elements of the visual to react on the slicer, but this measure to stay the same. This is the DAX formula, which you can adapt to your scenario:

 

Measure = CALCULATE(sum('Table'[Column2]), All('Table'[Column1]), 'Table'[Column1] = 2)

However filter changes on the Column1, the measure keeps showing sum(Column2) for Column1=2 (respecting all other filters).

 

Kind regards,

JB

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.