Forum Discussion
julesdude
Post Partisan
3 years agoFiltering Date Results in Two Tables Using User Selected As Of Date
Hi All, I have a from/to date slicer with a hidden from date the user can't change, but an 'as of date' that the user can change to filter all items by date up to the chosen point in time. I want a...
- 3 years ago
Hi julesdude ,
Please follow these steps:
(1) Create a new measure
FLAG = IF ( MAX ( 'Table1'[Unit Start Date] ) <= MAX ( 'Date'[Date] ) && ( MAX ( 'Table1'[Unit End Date] ) >= MAX ( 'Date'[Date] ) || MAX ( 'Table1'[Unit End Date] ) = BLANK () ), 1 )(2) Set up filtering
(3) The end result
Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jialluo-msft
Community Support
3 years agoHi julesdude ,
Please follow these steps:
(1) Create a new measure
FLAG =
IF (
MAX ( 'Table1'[Unit Start Date] ) <= MAX ( 'Date'[Date] )
&& (
MAX ( 'Table1'[Unit End Date] ) >= MAX ( 'Date'[Date] )
|| MAX ( 'Table1'[Unit End Date] ) = BLANK ()
),
1
)
(2) Set up filtering
(3) The end result
Best Regards,
Gallen Luo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.