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
dhannaa
Helper IV
Helper IV

Filter out unnecessary slicer items

Hi all, 

 

My report is calculating stock values for any selected date, like this:

 

AccumulatedValue = 
CALCULATE (
    SUM ( Item Ledger Entry'[Quantity] );
    FILTER ( ALL ( 'Calendar' ); 'Calendar'[Date] <= MAX ( 'Calendar'[Date] ) )
)

I have a lot of slicers in my file and at the moment they are showing also items that doesn't give any results (locations and items that no longer exist and so on). Is there any way to remove such slicer items automatically? I don't want to filter them out manually as there is always possibility that some non-existing stock is used by mistake.

 

What would be the smartest move here? 

 

Jenny

 

 

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

Filter out AccumulatedValue that are blank or 0?



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

 

@Greg_Deckler

 

 

Accumulated value that is 0.

 

For example - qty for stock that has been shut down is 0 even if there are positive and negative changes in the past - accumulated value is at this moment 0.

 

Empty table for filter with no stock at the momentEmpty table for filter with no stock at the moment

 

 

Closed location is not needed here. List gets already long with current locations themselvesClosed location is not needed here. List gets already long with current locations themselves

 --

 

Edit:

 

Forgot to mention, that I am filtering my source data with a date slider

 

slider.PNG

Any ideas on this 🙂 ?

I am still struggling with this as my slicers are showing a long list of closed warehouse locations. I don't find a solution to exclude them even though I am trying hard. 

 

Jenny

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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