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 September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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