# Conditional relations that aren't related to the logged in user

**URL:** <https://community.glideapps.com/t/conditional-relations-that-arent-related-to-the-logged-in-user/57173>\
**Category:** Ask for Help\
**Created:** [January 27, 2023, 3:52pm UTC](https://community.glideapps.com/t/conditional-relations-that-arent-related-to-the-logged-in-user/57173 "2023-01-27T15:52:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [January 29, 2023, 6:04pm UTC](https://community.glideapps.com/t/conditional-relations-that-arent-related-to-the-logged-in-user/57173/5 "2023-01-29T18:04:10Z")

</div>

Hi!  
Some no code solution:

1. In the user Value table you need to prepare Json Object using “Make Json Object”  

2. Lookup this column to Project table

3. Finish JSON and prepare template for JQ (select if User value \> Project Value)  

4. Transform JSON  
This filters values from Json by JQ rules  
JQ there is:  
map - invoke filter foo for each input  
select(value) input unchanged if value returns true

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/1/21e154c25c1b34245f673acac11e3804ecbc879b.png)  
Try to use [jq play](https://jqplay.org/#) to play with

1. Clear results  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/6/06aaf919dd25ac95a8a93642e464500170d61d3d.png)

There no java script, but Glide plugin(Transform JSON) maybe slow your Pages

---

_[View the full topic](https://community.glideapps.com/t/conditional-relations-that-arent-related-to-the-logged-in-user/57173)._
