Forum Discussion
Show items with no data ignores date table visual filter
- 2 years ago
Hi Gav254
Just use this below DAX as a visual filter and make it to filter value 1.
Filter_ =
VAR M_ =
CALCULATE ( MIN ( 'Date'[Month] ), ALLSELECTED ( 'Date'[Date] ) )
VAR Y_ =
CALCULATE ( MIN ( 'Date'[Year] ), ALLSELECTED ( 'Date'[Date] ) )
RETURN
IF (
AND (
SELECTEDVALUE ( 'Date'[Month] ) && M_,
SELECTEDVALUE ( 'Date'[Year] ) && Y_
),
1,
0
)
let me know if this helps.
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Follow me on LinkedIn!!!
Hi Gav254
Just use this below DAX as a visual filter and make it to filter value 1.
Filter_ =
VAR M_ =
CALCULATE ( MIN ( 'Date'[Month] ), ALLSELECTED ( 'Date'[Date] ) )
VAR Y_ =
CALCULATE ( MIN ( 'Date'[Year] ), ALLSELECTED ( 'Date'[Date] ) )
RETURN
IF (
AND (
SELECTEDVALUE ( 'Date'[Month] ) && M_,
SELECTEDVALUE ( 'Date'[Year] ) && Y_
),
1,
0
)
let me know if this helps.
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Follow me on LinkedIn!!!
You my friend are genius! Thank you!