# Add a value in a "array column"

**URL:** https://community.glideapps.com/t/add-a-value-in-a-array-column/65790
**Category:** Ask for Help
**Created:** [September 5, 2023, 3:48pm UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790 "2023-09-05T15:48:21Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 5, 2023, 3:48pm UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/1 "2023-09-05T15:48:21Z")

</div>

Hello,

How can i add a value in array column with an action?

thanks for your help

---

<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: [September 5, 2023, 3:57pm UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/2 "2023-09-05T15:57:56Z")

</div>

Use the Make Array column with a Set Column Values action.  
Your Make Array column would have two values: the original array and the value you want to add.  
And the action will take the value from the Make Array column and write it back to the original column.

> **[Make Array Column](https://www.glideapps.com/docs/automation/computed-columns/make-array-column)**
>
> Combine columns in your data source to create an array.

---

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 11, 2023, 7:19am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/3 "2023-09-11T07:19:05Z")

</div>

It’s not really that, I explain.

I have a button with action column set value, when i push it I set the current date value in a array.  
I want than the next time I push it, the new current date value be add in the same array with the previous current date value.

---

<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: [September 11, 2023, 7:37am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/4 "2023-09-11T07:37:31Z")

</div>

You want to replace the previous value with the new one, or add the new value to the array?

Either way, you can use the same method.

---

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 11, 2023, 7:51am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/5 "2023-09-11T07:51:16Z")

</div>

add the new value at the other values in the array

---

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 11, 2023, 8:00am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/6 "2023-09-11T08:00:09Z")

</div>

I can’t push the value directly in the array?

The problem for me it’s “join different value from multiple column”.

My case is for each intervention i must add the current date value, it’s want to say to create one or two column by week, and it’s not possible for me to add the new columns manually at the make array column

---

<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: [September 11, 2023, 8:08am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/7 "2023-09-11T08:08:15Z")

</div>

Can you show me a screen shot of what the data looks like in the Glide Data Editor?  
Perhaps I’m not understanding correctly.

---

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 11, 2023, 8:30am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/8 "2023-09-11T08:30:01Z")

</div>

![Capture d’écran 2023-09-11 à 10.24.47](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/e/0e3b0bf54406d186e9c55c543f4dd51a40e47dc7.jpeg)

I want that when I change the value in column date d’execution, to keep the last value in the array and to add the new value to the array.

Sorry my English is bad and my vocabulary poor …

---

<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: [September 11, 2023, 8:53am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/9 "2023-09-11T08:53:30Z")

</div>

Okay, you can do as I suggested.

- Create a Make Array column that has two values. The first value is the existing array, and the second value is the current date time.
- In your Action use Set Column Values to write the value of the Make Array column into your array column.

---

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 11, 2023, 9:46am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/10 "2023-09-11T09:46:41Z")

</div>

![Capture d’écran 2023-09-11 à 11.43.32](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/e/7eb3fc070fafddec63b2ba1a34adddd2bde64279.jpeg)  
 ![Capture d’écran 2023-09-11 à 11.44.27](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a028e8300a6df60d1b6e2a856b803d33d3c4b473.jpeg)

I haven’t the possibility to write directly in the array column .  
I don’t see the field when I want to set up my action

 ![Capture d’écran 2023-09-11 à 11.45.28](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/1/e142c12c1b3214a74463b7d1c28518ec26fc1b88.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 12, 2023, 12:49am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/11 "2023-09-12T00:49:11Z")

</div>

What “array column” are we talking about here from your screenshot?

---

<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: [September 12, 2023, 1:56am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/12 "2023-09-12T01:56:35Z")

</div>

> [@Marie\_Antoine](#):
>
> I haven’t the possibility to write directly in the array column .  
> I don’t see the field when I want to set up my action

oh… is your original array column a computed column?  
I didn’t realise that. If it’s a computed column, then no you won’t be able to write to it.  
Can you please show/explain how that column is created in the first place?

---

<div class="post-metadata">

### Author: ![Marie\_Antoine](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marie_antoine/32/59898_2.png) [@Marie\_Antoine](https://community.glideapps.com/u/Marie_Antoine)
#### Post date: [September 12, 2023, 7:17am UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/13 "2023-09-12T07:17:55Z")

</div>

I create a column"make array column" and I want write the value directly inside with an action.  
I think to it’s not possible .

Thanks for your time

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 12, 2023, 2:02pm UTC](https://community.glideapps.com/t/add-a-value-in-a-array-column/65790/14 "2023-09-12T14:02:54Z")

</div>

It’s a computed column, so it’s not possible. I think you should have a setup like this:

- A centralized comma-delimited list
- A user-specific column for input purposes
- A template column to join the existing comma-delimited list with the new input

The action will set the template column value to the centralized comma-delimited list.

Your array would be a split text column on the list.

For a cleaner list, maybe you can use a split text column on the list, then join them together again to clear off any “empty” elements.
