# Dynamic page / popup always getting the same element

**URL:** <https://community.weweb.io/t/dynamic-page-popup-always-getting-the-same-element/278>\
**Category:** Ask us anything\
**Created:** [March 2, 2022, 2:35am UTC](https://community.weweb.io/t/dynamic-page-popup-always-getting-the-same-element/278 "2022-03-02T02:35:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theophilenz](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@theophilenz](https://community.weweb.io/u/theophilenz)\
**Post date:** [March 2, 2022, 2:35am UTC](https://community.weweb.io/t/dynamic-page-popup-always-getting-the-same-element/278/1 "2022-03-02T02:35:20Z")

</div>

Hi,

I’m having a little problem with filtering dynamic collections based on variables : When I try to display the values from the filtered element, I am always returned the same element, even if I can cleary see the variable change.

I followed this tutorial step by step and I’m using Airtable and I don’t believe I missed anything.

I tried two things  
1 - Creating a dynamic page based on a filtered collection (like in the video)  
2- Display the clicked element’s data in a popup.

Here’s an example with a muted video about the problem with a popup : [Loom | Free Screen & Video Recording Software](https://www.loom.com/share/a2aa13dcc1214f1da803b814e205c069)

In both instances I always get the same element from the collection, repeatedly, even if the variable is clearly changing. It is as tho the filtering is not applied at the moment of the click?..

Thank you in advance for your help

---

<div class="post-metadata">

**Author:** ![theophilenz](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@theophilenz](https://community.weweb.io/u/theophilenz)\
**Post date:** [March 2, 2022, 2:46am UTC](https://community.weweb.io/t/dynamic-page-popup-always-getting-the-same-element/278/2 "2022-03-02T02:46:13Z")

</div>

Update, after I recorded the video I noticed that I had bound the text to the wrong collection and corrected it. But the problem persists. It’s been two days I’ve been trying to make it work.

---

<div class="post-metadata">

**Author:** ![theophilenz](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@theophilenz](https://community.weweb.io/u/theophilenz)\
**Post date:** [March 2, 2022, 2:54am UTC](https://community.weweb.io/t/dynamic-page-popup-always-getting-the-same-element/278/3 "2022-03-02T02:54:10Z")

</div>

Found my solution! Added “Fetch collection” at the end of the workflow and it works.

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [March 3, 2022, 1:17pm UTC](https://community.weweb.io/t/dynamic-page-popup-always-getting-the-same-element/278/4 "2022-03-03T13:17:17Z")

</div>

Hi @theophilenz, well done on finding the solution!  
And thank you for taking the time to share it here 🙂
