PowerApps repeating table

In this PowerApps Tutorial, We will see how to create a PowerApps repeating table in the PowerApps App.

PowerApps repeating table

First of all, you need to know what is Repeating rows or repeating table? Repeating row means each and every column in a row that matches with another row in the same table. Shortly, We can say it is a Duplicate row of the same table.

Similarly, PowerApps Repeating rows means it contains a set of controls and allows the user to insert multiple objects (rows) of data as per their need. However, It looks like the below screenshot:

PowerApps Repeating Rows
powerapps sharepoint repeating table

Requirements to do in PowerApps:

  • Here, When you will click on the “+” icon, then a new row will add with all the same controls (including the serial number).
  • When you will click on the Cancel icon of a specific row, then it will delete that particular row from the table.
  • If you want to store all the row values in a SharePoint list, then you can click on the Save button.
  • If you want to clear all the data or records from the table, then you can click on the Clear button as in the above screenshot.

Follow the below steps to cover all these above requirements:

Step – 1:

At first, Create a SharePoint List named Purchase Order Details. This list has these below columns with different data types as:

  1. Title = This is the By default column. Just I renamed it to Purchase Date.
  2. Repeated Section = This is the multiline text column.
powerapps repeating table
powerapps repeating table

Step – 2:

On the PowerApps screen, Insert these below controls and set some formula to their related properties:

  1. Add some Label controls for the heading purposes that looks like as below:
PowerApps Repeating Section
powerapps create repeating table

For example, Insert a Label control and set its Text property to Product Name. Similarly, do the same thing for rest headings.

2. Add a + icon and set its OnSelect property as:

OnSelect = Collect(
        CSerialNumber: Text(Last(PurchaseCollection).CSerialNumber + 1),
        CProductName: "",
        CProductQuantity: "",
        CProductPrice: "",
        CMulQuantityAndPrice: "",
        CVendorPhoneNumber: ""


  • PurchaseCollection = PowerApps Collection name
  • CSerialNumber, CProductName, CProductQuantity, CProductPrice, CMulQuantityAndPrice, CVendorPhoneNumber = These are the headers that will create in the PowerApps Collection
PowerApps Repeating Sections
powerapps create repeating table

3. Save and Publish the app. Reopen the app again and click on the Add (+) icon. Once you will click on the + icon, the new row will increment with the same labels. The same rows will increment when you will click on the + icon number of times. That means Number of Clicks on + icon = Number of times create the Rows

See also  Power Apps Value Function - How to use

Step – 3:

  • Next, add a Gallery control (Blank vertical) below the headers. Add some Text input controls for each field or header (inside the gallery control).
  • That means, In the below Product Name header, I have added one Text input control (set its Default property to blank). For the rest headers also, I did the same thing that looks like as shown in the below screenshot.
  • I have a column named “Quantity * Price” that helps to multiply both Quantity and Price value. Here, I have used this below formula on Text input’s Default property as:
Default = txtProductQuantity*txtProductPrice


  1. txtProductQuantity = Product Quantity text input control name
  2. txtProductPrice = Product Price text input control name
powerapps repeating table
powerapps repeating table sharepoint list
  • You can see this multiply field is in Disable mode because I don’t want that the user will edit it. I want the user will only view it without editing.

Step – 4:

  • Select the Gallery control and set it’s Items property to the Collection name:
Items = PurchaseCollection


PurchaseCollection = Powerapps Collection name

powerapps repeating table sharepoint list
powerapps repeating table sharepoint list
  • Now to increment the serial number (like 1, 2, 3, and so on), you need to specify the value in its Properties pane. Select the Serial Number input control -> Go to Properties pane -> Select CSerialNumber in the txtPurchaseSerialNumber field as shown in the below screenshot.
Repeating Rows in PowerApps
powerapps repeating table

Step – 5:

  • Next, to remove each row from the gallery control, you can use a Cancel icon. For that, Add a Cancel icon and apply its OnSelect property to:
OnSelect = RemoveIf(
    CSerialNumber = ThisItem.CSerialNumber


  1. PurchaseCollection = Collection name
  2. CSerialNumber = Serial Number column name
Repeating section in PowerApps
powerapps create repeating table
  • This formula helps if you want to remove unnecessary row from the gallery, then you can click on the cancel icon directly and that specific row will remove.
See also  How to Customize SharePoint List Forms with Power Apps?

Step – 6:

  • Now it’s time to save the rows in the SharePoint list data source. Insert a Button (should be outside the gallery control) and rename it to Save that will help you to store the values in the SharePoint list.
  • Select the save button input and apply this below formula on its OnSelect property as:
OnSelect = Set(
            "; ",
            "; ",
            "; ",
            "; ",
            "; ",
            " | "
    'Purchase Order Details',
    Defaults('Purchase Order Details'),
        Title: Text(Today()),
        'Repeated Section': AllPurchasesString
    "Record Submitted Succesfully!",


  1. AllPurchasesString = Variable name
  2. Gallery1 = Gallery control name
  3. Concatenate = This is the PowerApps function that helps to concatenate a mix of individual texts
  4. txtPurchaseSerialNumber, txtProductName to txtVendorPhoneNumber = These are the text input control names
  5. | ” = This is one type of delimiter that will help you to separate the number of repeating rows
  6. Patch = PowerApps Patch Function is used to modify single or multiple records of a data source. Also, it helps to create new records as well.
  7. Purchase Order Details = This is the SharePoint list name where the row values will store
  8. Title = This is the SharePoint By default column name where it will store today’s or the current date
  9. Repeated Section = This is the multiline text column where the values will store
  10. Notify = This function helps to notify that the record has been submitted successfully in the SharePoint list
powerapps gallery repeating
powerapps infopath repeating table

Step – 7:

  • Suppose in case you want to clear all the rows from the gallery control. Then you can take another button and rename it to Clear. Select the clear button and apply this below formula on its OnSelect property as:
OnSelect = Clear(PurchaseCollection)


See also  How to Remove Items From Power Apps Collection?

PurchaseCollection = Collection name

  • Once you will click on the Clear button, then all the row values will removed and the gallery will clear.

Step – 8:

  • Save and Publish the app. Reopen the app again. Click on the + icon to add a new row. Enter all the field values and click on the Save button as shown below.
PowerApps Repeating gallery
powerapps sharepoint repeating table
  • Once you will save the data, a successful notification will appear that “Record Submitted Successfully!“.
  • Next, go to the specific SharePoint list (Purchase Order Details) and refresh it. You can see the new items have been created with the separation of “|”.
Powerapps Repeat rows
powerapps sharepoint repeating table

Also, you may like these PowerApps Tutorials as:

Hence in this PowerApps Tutorial, We saw how to create the repeating rows or a repeating table in the PowerApps screen.

  • This is exactly what I need for where customers submit late requisitions. Thank you for the thorough write up. Hope I can get some direction on a problem I have. I have created all the way to Step 2.3. When I savepublish, I can’t get app to add new row when selecting A(+) icon. No reported errors on my end. Any help would be very much appreciated.
    CSerialNumber: Text(Last(PCSLateReqsCollection).CSerialNumber + 1),
    CAgency: “”,
    CDivision: “”,
    CProgram: “”,
    CFiscalYear: “”,
    CRequisitionNumber: “”,
    CRequestor: “”,
    CDescription: “”,
    CVendor: “”,
    CContractPONumber: “”,
    CAmount: “”,
    CJustification: “”

  • It would be great if you could provide more detail. I have SharePoint Sky and still have trouble following what type you assigned to the columns. And like the user below I can’t get the row to repeat by selecting the + after 2.3.

  • Can the repeating table also be updated and prior data still be kept in the repeating section if updated at a later date?
    with my repeating section I would like for it to be able to be updated multiple times, However this doesn’t happen all at once it can happen over the course of days or even weeks between entries. Is this possible to keep amending the text to the SharePoint Repeating table items over a several day time period? I need to keep all entered prior items entered.
    for example:
    25-1 then 25-2 (happens 3 days later) and 25-1 information is still there after I enter 25-2.

    25-2 then is updated to 25-3 the next day and 25-1, 25-2 that data is still in the SharePoint list .

    so on so forth.. it will keep going ..

    Is this possible?

  • On the Save button, do I need to list all fields (my form has a lot of fields) or can I Submit SharePointForm1?

  • Default = txtProductQuantity*txtProductPrice

    this is incorrect, you should populate the property of the control which is .text

  • >