# Sum Array

**URL:** https://community.glideapps.com/t/sum-array/60407
**Category:** Ask for Help
**Created:** [April 11, 2023, 11:30am UTC](https://community.glideapps.com/t/sum-array/60407 "2023-04-11T11:30:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bruno\_Tayro\_Biffe](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bruno_tayro_biffe/32/55716_2.png) [@Bruno\_Tayro\_Biffe](https://community.glideapps.com/u/Bruno_Tayro_Biffe)
#### Post date: [April 11, 2023, 11:30am UTC](https://community.glideapps.com/t/sum-array/60407/1 "2023-04-11T11:30:06Z")

</div>

i need some help!  
when i fill a form i chose a date, a client and a service!(nedd more than one some times) so i activate in cloice component (allow selecting multiple)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/3/a3c0c248bb4735d3449a18ef0775461d4fa087a5.jpeg)  
a service have a relation with a table service with prices, but when i chose multiple obviously he dont return a price.  
so i try to split text with coma, and he separates services in array, but i cant sum then!  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/54c1b3b5c993078fcaac5c36e3c3ea783fa7ae79.png)

---

<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: [April 11, 2023, 11:31am UTC](https://community.glideapps.com/t/sum-array/60407/2 "2023-04-11T11:31:05Z")

</div>

Use a rollup column to sum the values via the multiple relation.

> **[Glide • Rollup Column](https://www.glideapps.com/docs/reference/computed-columns/rollup-column)**
>
> Perform calculations on columns, such as count, average, and sum.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [April 12, 2023, 11:31am UTC](https://community.glideapps.com/t/sum-array/60407/3 "2023-04-12T11:31:45Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
