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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Report filter is still affecting my ALL function in measure

I have a report filter to exclude all data that has and [Item Status] of Cancelled.  However I want one calculation to exclude this parameter.  I want it to callculate the sume of my $$ even if it is cancelled.  I have created the measure below:

measure = CALCULATE(SUM(factPPM[Currency Amount  (Fin Plan)]),
    all('Forecast Period'),
    ALL(dimLists[Item Status]),
    factPPM[Financial View (Fin Plan)]="Budget")

 

However, the result of this measure is still affected by the report filter. Im not sure how else to make this calculation not be affected. 

 

Can anyone provide some suggestions?

 

Thank you in advance for your help.

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

 

Please describe your problem with sample data and show the expected result. How to Get Your Question Answered Quickly

 

If possible, you could share the sample .pbix file where sensitive data is masked.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
OwenAuger
Super User
Super User

@Anonymous 

Hazarding a guess: Do you have a "sort by" column set for dimLists[Item Status]?

If so, you will also need to include that column in ALL.

See this article:

https://www.sqlbi.com/articles/side-effects-in-dax-of-the-sort-by-column-setting/

 

 


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn
Greg_Deckler
Community Champion
Community Champion

Hmm, I can't seem to replicate this. I created a measure like:

 

Measure 11 = 
VAR __table = ALL(Table14[Prod Order No_])
VAR __values = DISTINCT(__table)
RETURN
CONCATENATEX(__values,[Prod Order No_],",")

And even if I put in a Report filter excluding some of these, this measure returns all of them. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors