Reply
DJKarma
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

@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])
)

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Syndicated - Outbound

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

Syndicated - Outbound

Hi, @DJKarma 

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

 

Best Regards,
Community Support Team _ Eason

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)