# Can't get the right relation to show

**URL:** <https://community.glideapps.com/t/cant-get-the-right-relation-to-show/9067>\
**Category:** Ask for Help\
**Created:** [May 13, 2020, 5:41pm UTC](https://community.glideapps.com/t/cant-get-the-right-relation-to-show/9067 "2020-05-13T17:41:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naos\_Wilbrink](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/naos_wilbrink/32/769_2.png) [@Naos\_Wilbrink](https://community.glideapps.com/u/Naos_Wilbrink)\
**Post date:** [May 13, 2020, 5:41pm UTC](https://community.glideapps.com/t/cant-get-the-right-relation-to-show/9067/1 "2020-05-13T17:41:32Z")

</div>

It’s probably a simple thing,… I’ve read all the other ones where this is addressed but I’m stuck.  
I have 2 users, 4 challenges in this sheet [https://vj6af.glideapp.io](https://vj6af.glideapp.io) (open to copy).  
User1 was in a challenge of a certain type. User1 invites User2. User2 should now only see the challenges with the same type as user1.

It’s showing how I want in the challenge table. But setting a relation from the user table to the challenge table returns all. Therefore I can show the right collection.

Hope someone can get me out of this loop.

 ![Screenshot 2020-05-13 at 19.22.26](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/b24f3850b3659da4585cb01251a810b7f53ec34b.png) ![Screenshot 2020-05-13 at 19.25.41](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/280ec0109deb1d2f1f745fbd4542276c1326c548.png) ![Screenshot 2020-05-13 at 19.34.07](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/c/cd0031fc236594c1d98a1bb1ac74d5cb8927d677.png) ![Screenshot 2020-05-13 at 19.34.17](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/579dd9a4831dc5866437cc28bef0e96bdbaf5083.png) ![Screenshot 2020-05-13 at 19.34.28](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/dc294eef4a42776304184a183841449f2d539741.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 15, 2020, 4:01am UTC](https://community.glideapps.com/t/cant-get-the-right-relation-to-show/9067/2 "2020-05-15T04:01:17Z")

</div>

I tried, but I honestly got lost on what you are trying to accomplish. I did try to change the ‘Signed up with this User Challenge’ template to use the challenge code from the challenge sheet instead of from the user profile, and it knocked the list down to two challenges, but I’m not sure if that’s what you are looking for or not.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/b/bc9e5b011ae4d37c13ceae05bf13462f9b9c7197.png)
