Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Answered

Copy & Paste - Previous Line Item data

(1) ShareShare
ReportReport
Posted on by 128
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
 
 
  • schithambaran Profile Picture
    schithambaran 128 on at
    Copy & Paste - Previous Line Item data
    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.
  • Verified answer
    SaiRT14 Profile Picture
    SaiRT14 1,931 on at
    Copy & Paste - Previous Line Item data
     
    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard