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 / Copy & Paste - Previou...
Power Apps
Answered

Copy & Paste - Previous Line Item data

(1) ShareShare
ReportReport
Posted on by 138
Hi 
 
I have Gallery with the below fields. (Title, Riverbank Reference etc). Once clicking on the Copy Last line I need to create new line item and copy - paste the previous line item data.  Please help
 
 
I have the same question (0)
  • Verified answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
     
    For the Button's OnSelect Property: Assuming your data source is named MyDataSource:
    Collect(
        MyDataSource,
        {
            Title: Last(MyDataSource).Title,
            'Riverbank Reference & Criteria': Last(MyDataSource).'Riverbank Reference & Criteria',
            'Customer Contract': Last(MyDataSource).'Customer Contract',
            'Preapprover Name': Last(MyDataSource).'Preapprover Name',
            'Approval Status': Last(MyDataSource).'Approval Status'
        }
    )
     
    Replace the field names (Title, 'Riverbank Reference & Criteria', etc.) with the exact column names from your data source.
     
    thanks
  • schithambaran Profile Picture
    138 on at
    Thank you so much for the response. 
    But there is no action have seen once click on the Button. 
    Am trying to resolve it, any suggestions.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 509 Most Valuable Professional

#2
Haque Profile Picture

Haque 302

#3
11manish Profile Picture

11manish 265

Last 30 days Overall leaderboard