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

Calculations that are filtered by using the calculate formula not filtered by visualizaiton filters

Hello,

 

I have a column for WIP Status that includes values of either B, P, W, X or N.

I filtered out my report to only have WIP status of  B, P and W, taking out X and N.

 

When trying to calculate the amount of money in  P or W, I set up the following formula:

 

Not B = Calculate(Sum(money), WIP Status <> "B")

 

After some time, I realized that Not B was including the money in both X and N as well.

 

Has anyone else encountered this?

 

Please let me know if I can clarify anything.

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

Hi @Anonymous, 

 

Please create a measure like below: 

 

Not B = Calculate(Sum('Table (2)'[Money]), FILTER(ALLSELECTED('Table (2)'),'Table (2)'[WIP Status] <> "B"))

q1.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous, 

 

Please create a measure like below: 

 

Not B = Calculate(Sum('Table (2)'[Money]), FILTER(ALLSELECTED('Table (2)'),'Table (2)'[WIP Status] <> "B"))

q1.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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