Showing results for 
Search instead for 
Did you mean: 
Helper V
Helper V

Cannot save repeating table data


Currently, I am creating a SharePoint List Form and I had a problem on passing the data in the repeating table.

I created the repeating table that is in a SharePoint List Form and it is in a DataCard 

As the formula below is the submit form and I would like to collect all the data that has been inserted in the repeating table.


When the form is submitted, it does not transfer all the item that has been inserted in the repeating table into the SharePoint List 

unnamed (1).png


Thank you


Hi @v-bofeng-msft,


Thank you for your suggestions,


Thank you very much.



Hi @v-bofeng-msft,


There is a problem on the repeating table


Whenever I tried to insert some data in a new row. It will automatically show the data that I was inserted in the first row. For example,

image001 (4).png

As you can see, I already entered data in the first row but when I wanted to enter something in the second row. It showed me the data in the "Purpose" column before I enter anything in the 'purpose' column at the second row.


Why is this happening?


Thank you.

Hi @v-bofeng-msft 


I have added:

patch('Purposes',ThisItem,'repeating table'.selected,{Desc:'Desc input'.Text})

But is still the same 


Why is this happening?

I really need help on this


Thank you

Advocate II
Advocate II

Can you check the video below? He has provided a detailed explanation for some basic activities and it has 3 parts in all. I have shared part 1.

Hi @Ajithnair621 ,


I did watch all 3 parts but when I applied it into my PowerApps Form, the problem still exists.


As for now, my problem is that when I wanted to insert some data in the second row, it will copy and paste the data from the first row.


Thank you

Is it Possible for you to share the Screenshot of the Action performed on the 'Create' button (Plus icon)?

@Ajithnair621 ,


This is the "+" icon where add the rows



 This is the Patch function that I created on the Text Box that is in the Gallery



This is the problem that I was mentioned. As you can the 2nd row becomes the 3rd row 

image001 (5).png

I can see that the Patch command you have written is not in Sync with what @v-bofeng-msft has suggested in earlier posts. You have 2 updates in one single Patch command.




Also as @v-bofeng-msft has suggested earlier, try saving the 'Number' value in a separate variable and give it a try to check if the number increments properly.

Hi @Ajithnair621 ,


Thank you for your reply,


Are you talking about about the "+" icon or the TextBox?

How to make the changes on the Patch?


How to save the 'number' value ?



I suggest you to go through the video shared thoroughly once again. You have missed certain steps in it which has resulted in this confusion.


1. In the 'onVisible' of the Screen Try to save the Value for 'Number' in a variable. Increement and assign it when each new record is created using the plus icon.














2. The Patch command should be written as follows Patch(you_collection_name, this.item,{field_name:field_value}) where, this.item - will be the current record that you are trying to modify in the gallery. No need to mention the sharepoint list here. Through this you can make sure that the record you modified is updated in the collection.


3. I see that you have a Submit button also. After you are done with the editing and inserting in the collection have the user click the submit button to Sync data with SharePoint list. Inside the OnSelect of 'Submit' Button you can have the ForAll(..) which will update the data from your collection to the sharepoint list.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,928)