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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
George1973
Helper V
Helper V

Stacked with Slicer Filter

Hi Guys,

On the dashboard given below, date slicer does not allow mesures work properly for some reason:

George1973_0-1658222638915.png

When I completely remove the slicer, then the figures work fine:

George1973_1-1658222711377.png

But I need the slicer for other purposes. So I'm trying to neglate (ignor) it in the relevant measures, but it DOES NOT WORK!!!

Total WIP Prod Qnty =
calculate (sum(FMG_SAQGZA[DARCHRAOD]),
FILTER(FMG_SAQGZA,FMG_SAQGZA[IP$FLAGS]<>4099),

ALL(DateKey))


- "All" does not work..

Total WIP Prod Qnty =
calculate (sum(FMG_SAQGZA[DARCHRAOD]),
FILTER(FMG_SAQGZA,FMG_SAQGZA[IP$FLAGS]<>4099),

REMOVEFILTERS(DateKey))



- Removefilters - Does not work neather


So, I'm going mad spet by step!

There are no date filters on the general filter panel as well.

So, can you give me some hints, why I could be like that?

Thanks in advance,


1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@George1973 , if you are using date in the visual all/removefilters might give the desired result. In that case use an independent date table and filter the data when required in a measure

 

 

//Date1 is independent Date table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
var _min = minx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Table', 'Table'[Date] >=_min && 'Table'[Date] <=_max))

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

Need of an Independent Table in Power BI - Exclude: https://youtu.be/lOEW-YUrAbE

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@George1973 , if you are using date in the visual all/removefilters might give the desired result. In that case use an independent date table and filter the data when required in a measure

 

 

//Date1 is independent Date table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
var _min = minx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Table', 'Table'[Date] >=_min && 'Table'[Date] <=_max))

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

Need of an Independent Table in Power BI - Exclude: https://youtu.be/lOEW-YUrAbE

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

Dear @amitchandak ,

Thanks a lot for the idea. Soory for beeing late with the answer.
I have tried the suggested solution but it did not work - the measure I mean, BUT what WORKED and helped me with the whole solution, was the idea about independed CLONE DATE TABE. I have implemented it fully, re_worked all the time inteligence measures and it gave me the true results!
So, thanks a lot once again!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.