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

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

Reply
Victoria_Bouts
Frequent Visitor

How to ignore slicer in measure returning value for specific date

Hi all,

I'm working on Monthly closing of accounts model. Thanks to all of you  I proceed well in it.  All parts of model  are based on the same Sync slicer with selected Month and Year and linked to Calendar[Date]. But now I have a problem with devaluation of stock as it doesn't show in March 2022 amount of "start" devaluation from December 2021, if I chose December 2021 it shows wel (see pictures). So I just can't understand how to eliminate influence of slicer filter in measure. The idea at the end  to have delta between "closing date" and "start" devaluation.

I was searching a lot here for answer and trying to implicate different formulas (with var and return, removeallfilters, etc) but still didn't achieve my goal. That's why I decided to ask you.

Current measure is Deval adj Start = CALCULATE(SUM(Stock[Deval adj]), ALL(Stock[Month]),Stock[MonthYear]="December2021")

 

pic1.JPGpic2.JPG

Any help would be highly appreciated

Thanks a lot in advance!

Victoria

1 ACCEPTED SOLUTION
Victoria_Bouts
Frequent Visitor

Hi all,

Found solution, it was simple actually, just Filter ALL of Calendar.Date

pic8.JPGpic9.JPGpic10.JPG

 

 

View solution in original post

3 REPLIES 3
Victoria_Bouts
Frequent Visitor

Hi all,

Found solution, it was simple actually, just Filter ALL of Calendar.Date

pic8.JPGpic9.JPGpic10.JPG

 

 

tamerj1
Super User
Super User

Hi @Victoria_Bouts 

closing Month slicer is from which table?

Hi,

Thanks for your interest to my problem!

The basic formula for all data is presenting data in YTD or Month view (see formula as example on revenues data)

For stock i switched off sync slicer as it shows the data at the last day of month, formula for stock is just SUM.

But still, as Stock is connected to Calendar date, it shows 2022 and 2021 separately

Best regards,

Victoriapic3.JPGpic4.JPGpic5.JPGPic6.JPGPic7.JPG

Helpful resources

Announcements
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.