# Different variables of the same object to calculate stock

**URL:** <https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801>\
**Category:** Ask for Help\
**Created:** [December 18, 2023, 11:32am UTC](https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801 "2023-12-18T11:32:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alejandro18](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@alejandro18](https://community.glideapps.com/u/alejandro18)\
**Post date:** [December 18, 2023, 11:32am UTC](https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801/1 "2023-12-18T11:32:02Z")

</div>

Hello how are you, I have a question, I have to make several variables of a piece, that is, with the same piece I must have a variable that includes 2 pieces, the next variable must include 5 pieces. Always referring to the same piece, is there any way to do it?? Your collaboration would be very helpful, thank you very much!!

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 18, 2023, 11:39am UTC](https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801/2 "2023-12-18T11:39:52Z")

</div>

A screen shot would be useful to help us visualise what you are trying to do.  
Show us what your data looks like, and the end result you are looking for.

---

<div class="post-metadata">

**Author:** ![alejandro18](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@alejandro18](https://community.glideapps.com/u/alejandro18)\
**Post date:** [December 18, 2023, 11:50am UTC](https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801/3 "2023-12-18T11:50:00Z")

</div>

Uploading: Captura de pantalla (8).png…  
Of course, here for example I have under the arrow an object which has variants (1 and 2) that are the necessary quantities according to the type of order that is made, I need that according to the order that I make this piece takes the value of my variant, be it 1 or 2, as appropriate, to be able to reduce my stock efficiently

---

<div class="post-metadata">

**Author:** ![alejandro18](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@alejandro18](https://community.glideapps.com/u/alejandro18)\
**Post date:** [December 18, 2023, 11:53am UTC](https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801/4 "2023-12-18T11:53:29Z")

</div>

Uploading: Captura de pantalla (8).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:** [December 18, 2023, 2:18pm UTC](https://community.glideapps.com/t/different-variables-of-the-same-object-to-calculate-stock/68801/5 "2023-12-18T14:18:04Z")

</div>

> [@alejandro18](#):
>
> pantalla

Wait for the image to finish uploading before submitting your post.
