# Add A Dynamic Number of Rows

**URL:** https://community.glideapps.com/t/add-a-dynamic-number-of-rows/55775
**Category:** Ask for Help
**Created:** [December 15, 2022, 11:20pm UTC](https://community.glideapps.com/t/add-a-dynamic-number-of-rows/55775 "2022-12-15T23:20:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Loqode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/loqode/32/50217_2.png) [@Loqode](https://community.glideapps.com/u/Loqode)
#### Post date: [December 15, 2022, 11:20pm UTC](https://community.glideapps.com/t/add-a-dynamic-number-of-rows/55775/1 "2022-12-15T23:20:02Z")

</div>

Hi all!

I have a scenario where each user needs to be assigned an expense each month.  
So far I haven’t found a way to dynamically create a record for each user in an expense table.

The ideal scenario is as follows:

- There are 10 users.
- I click a button and it creates 10 rows in an expense table, with each row containing a unique User ID.
- If the number of users increases to 11, the next time I click the button it creates 11 rows, etc.

Hope that makes sense!

Has anyone found a solid way of getting this done?  
With only 10 users, it’s not too hard to add the rows one by one, but ideally I could streamline this since the expense is the same for each user.

Any help would be greatly appreciated!

Cheers 🍻  
Marco.

---

<div class="post-metadata">

### Author: ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)
#### Post date: [December 16, 2022, 12:35am UTC](https://community.glideapps.com/t/add-a-dynamic-number-of-rows/55775/2 "2022-12-16T00:35:24Z")

</div>

Only way to make this happen is to send the row count and user info info to a service like [make](Https://www.make.com/en/register?pc=robert) to have it iterate through an add row command x number of times.

---

<div class="post-metadata">

### Author: ![Loqode](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/loqode/32/50217_2.png) [@Loqode](https://community.glideapps.com/u/Loqode)
#### Post date: [December 16, 2022, 12:58am UTC](https://community.glideapps.com/t/add-a-dynamic-number-of-rows/55775/3 "2022-12-16T00:58:41Z")

</div>

Thought that might be the case…  
Thanks for your response! 🙏
