# Help Me Relation

**URL:** <https://community.glideapps.com/t/help-me-relation/39313>\
**Category:** Ask for Help\
**Created:** [March 6, 2022, 12:27pm UTC](https://community.glideapps.com/t/help-me-relation/39313 "2022-03-06T12:27:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![scorpio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/scorpio/32/38799_2.png) [@scorpio](https://community.glideapps.com/u/scorpio)\
**Post date:** [March 6, 2022, 12:27pm UTC](https://community.glideapps.com/t/help-me-relation/39313/1 "2022-03-06T12:27:00Z")

</div>

good morning  
someone would know how to put a relation.  
It took me weeks to get the prices of this app and I can’t do it.

[https://zippy-milk-0012.glideapp.io/](https://zippy-milk-0012.glideapp.io/)

For example:  
If you choose  
1 trough  
Small  
3 cups  
The value would be $75,000

or

If you choose  
1 trough  
MEDIUM  
4 cups  
The value would be $95,000

but I don’t know how to relate them since it doesn’t give me the amounts that I should

and that the data come out in the Order table.

Does anyone have an example of how to do it thanks

---

<div class="post-metadata">

**Author:** ![Roldy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/roldy/32/36068_2.png) [@Roldy](https://community.glideapps.com/u/Roldy)\
**Post date:** [March 6, 2022, 11:28pm UTC](https://community.glideapps.com/t/help-me-relation/39313/2 "2022-03-06T23:28:23Z")

</div>

Hi @scorpio,  
try this and check the tab “New Choice”

> **[ventas](https://ventas-test.glideapp.io/)**

Was this what you wanted to achieve?  
If it was, copy it and look in the data editor.  
I created a detail table that serves as a basis for the choices, then see how I built the relation based on a compound key obtained thanks to the template column.

Bye

---

<div class="post-metadata">

**Author:** ![scorpio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/scorpio/32/38799_2.png) [@scorpio](https://community.glideapps.com/u/scorpio)\
**Post date:** [March 6, 2022, 11:49pm UTC](https://community.glideapps.com/t/help-me-relation/39313/3 "2022-03-06T23:49:23Z")

</div>

Yes, thank you very much, now I check how I have achieved

---

<div class="post-metadata">

**Author:** ![Roldy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/roldy/32/36068_2.png) [@Roldy](https://community.glideapps.com/u/Roldy)\
**Post date:** [March 7, 2022, 12:26pm UTC](https://community.glideapps.com/t/help-me-relation/39313/4 "2022-03-07T12:26:16Z")

</div>

This example was just to explain the method of retrieving a data through a relation based on a compound key. Note that in the Detail screen table I added, the columns containing the choices, in a typical usage scenario, should be user specific.
