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 August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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