Announcements
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
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.
@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}) )
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 382 Super User 2026 Season 2
Mohsin Ali 329
WarrenBelz 187 Most Valuable Professional