Adding Date Filters to User Portal Reports

Hi everyone,

I’ve created a report definition that appears under “All Reports” in the user portal. Currently, it displays all the records in the table. My requirement is to add date filters to this report definition, allowing the end user to select a date range. The goal is to provide date controls within the user portal report so users can choose the start and end dates. The report should then display only the records where the createdDateTime property falls within the selected date range.

Is there a way to achieve this with the existing report definition?

Hi @Sandeep COG,

To achieve this scenario, you can start by creating a custom section with date controls. Pega provides an option to include a custom section for the report. Under the Report Viewer tab, select the checkbox for “Display filters using custom section,” and then provide the class name and section. This allows you to integrate the custom section with date controls into your report, enabling the report to display along with the date selection options.