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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DJKarma
Frequent Visitor

Ignore the connected Date Slicer

I have two tables, One is the inventory and other is Date table, both are connected via date column.

I want to count no. of Inventory units from Inventory table with a filter on other colum in the inventory table Status.

 

This is my measure

Inventory Units =
CALCULATE(COUNTA('inventory_master (6)'[Unit]),'inventory_master (6)'[Status]
        IN { "R" ,"I","CB" }, REMOVEFILTERS (DateDimension[Date].[Year])
)

DateDimension is the Date table connected to Reg.Date column in my Inventory Table.

I want it to have all this status filter but ignore the Date Slicer which I have put on Report ( which is DateDimension)
As you can see i have used REMOVEFILTERS but it does not work.
I tried various methods in community but are not working.

Any help?
1 ACCEPTED SOLUTION

Hi, @DJKarma 

Have you tried using REMOVEFILTERS (DateDimension[Date]) to replace REMOVEFILTERS (DateDimension[Date].[Year]) ?

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@DJKarma , Mark DateDimension as date table and have year column

 

Inventory Units =
CALCULATE(COUNTA('inventory_master (6)'[Unit]),filter('inventory_master (6)', 'inventory_master (6)'[Status]
IN { "R" ,"I","CB" }) , REMOVEFILTERS (DateDimension[Year])
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Nope, Its not working, IF i edit the interaction and switch it off on the table where I am using the measure , it works (which was working previously as well), but I want that measure for further calculations where i cant switch off interaction. I want this Measure to be static regardless of any slicer with mentioned filters that is Status

Hi, @DJKarma 

Have you tried using REMOVEFILTERS (DateDimension[Date]) to replace REMOVEFILTERS (DateDimension[Date].[Year]) ?

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.