# Circular reference error in table filter when duplicating pages

**URL:** <https://connect.superhuman.com/t/circular-reference-error-in-table-filter-when-duplicating-pages/38928>\
**Category:** Bugs\
**Created:** [April 5, 2023, 12:56pm UTC](https://connect.superhuman.com/t/circular-reference-error-in-table-filter-when-duplicating-pages/38928 "2023-04-05T12:56:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Maggs](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/adam_maggs/32/38892_2.png) [@Adam\_Maggs](https://connect.superhuman.com/u/Adam_Maggs)\
**Post date:** [April 5, 2023, 12:56pm UTC](https://connect.superhuman.com/t/circular-reference-error-in-table-filter-when-duplicating-pages/38928/1 "2023-04-05T12:56:56Z")

</div>

This has occurred on 4 pages in the same doc when duplicating the page (duplication options = this page only, connected data)

Original page filter formula:  
thisRow.Select = true OR ((thisRow.Select= false) AND (thisTable.Filter(Select).Count() = 0))

Resulting filter formula in duplicated page:  
thisRow.Select = true OR ((thisRow.Select= false) AND ([View of TABLE NAME].Filter(Select).Count() = 0))

The duplicate page has a red dot indicating the error in the filter

---

<div class="post-metadata">

**Author:** ![Jasmine\_B](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jasmine_b/32/26214_2.png) [@Jasmine\_B](https://connect.superhuman.com/u/Jasmine_B)\
**Post date:** [April 10, 2023, 2:27pm UTC](https://connect.superhuman.com/t/circular-reference-error-in-table-filter-when-duplicating-pages/38928/2 "2023-04-10T14:27:15Z")

</div>

Hey @Adam_Maggs would you be able to share your doc here so we can take a closer look?

---

<div class="post-metadata">

**Author:** ![Adam\_Maggs](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/adam_maggs/32/38892_2.png) [@Adam\_Maggs](https://connect.superhuman.com/u/Adam_Maggs)\
**Post date:** [April 26, 2023, 3:00am UTC](https://connect.superhuman.com/t/circular-reference-error-in-table-filter-when-duplicating-pages/38928/3 "2023-04-26T03:00:47Z")

</div>

Hi @Jasmine_B  
The doc is [https://registrations.liveschool.net](https://registrations.liveschool.net)

A further complication has now evolved… I replaced the broken formula on the duplicated page with a version of the original formula so that it would work. Unfortunately now I can’t delete the (hidden) duplicated page without it breaking the parent page.

Let me know if you’d like me to provide edit access. Or perhaps, since this is a live checkout page, I could provide a copied doc?

---

<div class="post-metadata">

**Author:** ![Jasmine\_B](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jasmine_b/32/26214_2.png) [@Jasmine\_B](https://connect.superhuman.com/u/Jasmine_B)\
**Post date:** [May 18, 2023, 4:33pm UTC](https://connect.superhuman.com/t/circular-reference-error-in-table-filter-when-duplicating-pages/38928/4 "2023-05-18T16:33:31Z")

</div>

Hey Adam, sorry for the delay. I think we’ll need to see the non-published doc to better address the problem. Feel free to include that here, or follow up directly with Coda support for more help. You can reach support at [support@coda.io](mailto:support@coda.io), or opening a chat through the question mark at the bottom right of your screen while on Coda.
