# Sending multiple data from the same column to be shown in a template column

**URL:** https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313
**Category:** Ask for Help
**Created:** [May 31, 2023, 11:05am UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313 "2023-05-31T11:05:22Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![AbdulGhafor\_abbas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abdulghafor_abbas/32/56019_2.png) [@AbdulGhafor\_abbas](https://community.glideapps.com/u/AbdulGhafor_abbas)
#### Post date: [May 31, 2023, 11:05am UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/1 "2023-05-31T11:05:22Z")

</div>

Dear all, i have a simple database setup

 ![Screenshot (620)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/a/4ad55849836ce3fe25614407a1ef7ca5120c61a6.jpeg)

i want to add a template column which includes the values for all categories respectively like this :

 ![Screenshot (619)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/8/187fc4824f62c1c79bdc40ba3bd29018f93a7a1a.jpeg)  
but unfortunately, i cannot do that, each time i select category values it selects each column separately, and i only want one version of the template column and it should not be repeating for every row. i want to do this to send this template to chatgpt using the integration (message without history) to return some results.  
note : i don’t want to use ask a question about table as it uses a different data model than chat-gpt 3.5 that is being used in messages with and without history  
any help?  
thanks

---

<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: [May 31, 2023, 11:23am UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/2 "2023-05-31T11:23:27Z")

</div>

You could do it as follows:

- Start with a Lookup column that targets your Name column. This will give you an array of categories.
- Then add 3 Single Value columns. Each of these should target your Lookup column and take 0 from Start, 1 from Start and 2 from Start respectively.
- You can then use those 3 Single Value columns in your Template.

---

<div class="post-metadata">

### Author: ![AbdulGhafor\_abbas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abdulghafor_abbas/32/56019_2.png) [@AbdulGhafor\_abbas](https://community.glideapps.com/u/AbdulGhafor_abbas)
#### Post date: [May 31, 2023, 11:53am UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/3 "2023-05-31T11:53:29Z")

</div>

It definitly worked, thank you very much, an iterations i had to do tho:

- these extra columns i added them to the users table and not categories, as the action editor reads the columns in user table only.  
One Concern tho,  
this solution will not work if each user have a different number of categories. is there any solution that is more dynamic?

---

<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: [May 31, 2023, 4:30pm UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/4 "2023-05-31T16:30:25Z")

</div>

An alternative is to build a template column that only contains a portion of the text relative to each row, and then use a joined list column to merge them all together.

---

<div class="post-metadata">

### Author: ![AbdulGhafor\_abbas](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/abdulghafor_abbas/32/56019_2.png) [@AbdulGhafor\_abbas](https://community.glideapps.com/u/AbdulGhafor_abbas)
#### Post date: [May 31, 2023, 7:07pm UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/5 "2023-05-31T19:07:01Z")

</div>

I will gove it a try, but i don’t think i can pass this column to a chatgpt api message.  
I will try it tho

---

<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: [May 31, 2023, 7:40pm UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/6 "2023-05-31T19:40:25Z")

</div>

Joined List is just a normal text string, so I would think it should work just fine.

---

<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: [June 1, 2023, 7:40pm UTC](https://community.glideapps.com/t/sending-multiple-data-from-the-same-column-to-be-shown-in-a-template-column/62313/7 "2023-06-01T19:40:59Z")

</div>

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