Forum Discussion
LotteLaugesen
Helper V
4 years agoDynamic filter depending on another filter
Hi I would like to have a date filter showing the last 7 or 14 days depending on another filter like this: Is it possible? BR Lotte
- 4 years ago
I have find a way to solve it ๐
Include Date = IF(SELECTEDVALUE(Weeks[Weeks]) = 1 && SELECTEDVALUE(Dim_Calendar[IndexDay]) < 7,1,IF(SELECTEDVALUE(Weeks[Weeks]) = 2 && SELECTEDVALUE(Dim_Calendar[IndexDay]) < 14,1,0))Where IndexDay is days from today
and then I just put a filter on Date slicer saying that Include Date should be 1
LotteLaugesen
Helper V
4 years agoI have find a way to solve it ๐
Include Date = IF(SELECTEDVALUE(Weeks[Weeks]) = 1 && SELECTEDVALUE(Dim_Calendar[IndexDay]) < 7,1,IF(SELECTEDVALUE(Weeks[Weeks]) = 2 && SELECTEDVALUE(Dim_Calendar[IndexDay]) < 14,1,0))
Where IndexDay is days from today
and then I just put a filter on Date slicer saying that Include Date should be 1
and then I just put a filter on Date slicer saying that Include Date should be 1