# Remove Duplicate Data in Response Page

**URL:** <https://forums.pega.com/t/remove-duplicate-data-in-response-page/9172>\
**Category:** General\
**Tags:** platform, pega-platform\
**Created:** [March 11, 2025, 6:19pm UTC](https://forums.pega.com/t/remove-duplicate-data-in-response-page/9172 "2025-03-11T18:19:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![udaykumar6801936](https://avatars.discourse-cdn.com/v4/letter/u/cab0a1/32.png) [@udaykumar6801936](https://forums.pega.com/u/udaykumar6801936)\
**Post date:** [March 11, 2025, 6:19pm UTC](https://forums.pega.com/t/remove-duplicate-data-in-response-page/9172/1 "2025-03-11T18:19:06Z")

</div>

I have retrieved a list of cases from a table, but the list contains duplicate data with the same IDs. How can I use the `pyRemoveDuplicatesFromPageList` function in my Activity to remove the duplicate entries?

My data is stored on the page `Primary.Response.Data`, and inside `Data`, there is an `ID` property

---

<div class="post-metadata">

**Author:** ![Mohd\_Qizer\_Uddin](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/mohd_qizer_uddin/32/8753_2.png) [@Mohd\_Qizer\_Uddin](https://forums.pega.com/u/Mohd_Qizer_Uddin)\
**Post date:** [March 12, 2025, 4:04am UTC](https://forums.pega.com/t/remove-duplicate-data-in-response-page/9172/2 "2025-03-12T04:04:47Z")

</div>

Hi @udaykumart16801936,

You can use OOTB function

@Utilities.pyRemoveDuplicatesFromPagelist(ListPage,PageListName,DuplicateCheckProperties) and pass the required mandatory parameters to remove duplicate items in the list.

In your scenario Configure like as this @Utilities.pyRemoveDuplicatesFromPagelist(Primary,“.Response.Data”,“ID”),

Please go through this

> **[Remove the Duplicates from the Pagelist using Data Transform. | Support Center](https://support.pega.com/question/remove-duplicates-pagelist-using-data-transform)**
>
> Hi, I've a requirement to remove the duplicates from one Pagelist and copy the unique items to another Pagelist using Data Transform. Tried using pyRemoveDuplicatesFromPageList, but no luck. Syntax used in DT is, NewAccountsList...

Regards,

Mohd Qizer Uddin.
