Forum Discussion
Filter out articles based on individual date
- Anonymous2 years ago
Hi joshua1990 ,
Thanks for the reply from lucadelicio .
I just have a question - is "01.05.2024" in dd-mm-yyy format or mm-dd-yyyy format? But in any case, in your description, it should be expired after this date, so why can you see A2 when you select June?
Please try:
Create a disconnected date table and month column:
Date = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date])) Month = MONTH('Date'[Date])Put the month column in the slicer.
Create a measure:
Measure = VAR _selDate = SELECTEDVALUE('Date'[Month]) RETURN IF(MONTH(MAX('Table'[Date])) >= _selDate,MAX('Table'[Date]),BLANK())Replace the measure with the Date column of the original table and put it in the table visual object.
The final page visual effect is as follows:
If you have any other questions please feel free to contact me.
The pbix file is attached.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi joshua1990 ,
Thanks for the reply from lucadelicio .
I just have a question - is "01.05.2024" in dd-mm-yyy format or mm-dd-yyyy format? But in any case, in your description, it should be expired after this date, so why can you see A2 when you select June?
Please try:
Create a disconnected date table and month column:
Date = CALENDAR(MIN('Table'[Date]),MAX('Table'[Date]))
Month = MONTH('Date'[Date])
Put the month column in the slicer.
Create a measure:
Measure =
VAR _selDate = SELECTEDVALUE('Date'[Month])
RETURN IF(MONTH(MAX('Table'[Date])) >= _selDate,MAX('Table'[Date]),BLANK())
Replace the measure with the Date column of the original table and put it in the table visual object.
The final page visual effect is as follows:
If you have any other questions please feel free to contact me.
The pbix file is attached.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!