web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Multiple rows creation
Power Apps
Unanswered

Multiple rows creation

(0) ShareShare
ReportReport
Posted on by 42

Hi I have one list1 with one of the  column 'volume' having number value 'n'.  This n might be any number. When I click on create button , 'n' number of rows should be created in another list by inheriting few of the values from the row in first list with iD . I am new to power apps. Can someone provide solution. Thanks in advaance

Categories:
  • KvB1 Profile Picture
    1,596 on at

    How big can 'n' get? AFAIK there is no easy solution for this, but relies on workarounds starting by creating a intermediate collection with 'n' number of rows and with n as a value.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Shahin1 In the OnSelect of the button, you'll have (rename list, column names as needed),

    ForAll(Sequence(LookUp(list1, Place the condition here).volume),
     Patch(list2, Defaults(list2), {Place the column names and their values here})
    )

     

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Shahin1 

    The following code should provide the basic syntax to carry out this task.

    Collect(YourTargetSharePointList,
     With({n:20, defaultValue1:"a", defaultValue2:"b"},
     ForAll(Sequence(n),
     {DestinationColumnName1:defaultValue1,
     DestinationColumnName2:defaultValue2}
     )
     )
    )

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard