Forum Discussion

Malsk1_1's avatar
Malsk1_1
Icon for Helper II rankHelper II
4 years ago

How can i restrict a text based filter by date

Hi,

 

I have a Project Type field which contains the following attributes:

 

CTB - A

CTB - B

RtB - A

RtB - B

 

this is a filter at the top of the report - using a slicer.

 

How can i restrict what is shown in this filter based on the date selected from the date picker (slicer) also sitting at the top of the report.  The date is taken from the Date table which is connected to the main projects fact table.

 

So if the user picks any date before 2022 -they should only see CTB - A and CTB - B in the project type filter, and when they pick a date in 2022, they can see all 4 project types.

 

How can this be achieved?  

 

Any help would be appreciated.

 

Thanks in advance.

1 Reply