Report Definition filter to get last 180 days

Report Definition configured to pull records for Last 30 days,90 days,120 days like wise can we configure for Last 180days

Hi @AjayKumarK7664 , Currently pega doesn’t provide any option for 180 days, we can write a customize function if we want to achieve that.

@AjayKumarK7664

You can use ‘The difference in days between [Earlier Date Value] and [Later Date Value]’ function. Compare the function result with 180 days.

Else you need to perform customization.

@AjayKumarK7664

I would suggest passing a parameter as a filter to report definitions ( for the last 180 days or so) based on your requirements.

You can use the OOTB function to go back 180 days from the current date( @addToDate(.SelectedDateTime,-180,0,0,0)).