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 / Powerapps DataTable
Power Apps
Answered

Powerapps DataTable

(0) ShareShare
ReportReport
Posted on by 5

Hello all,

     i added remove(delete) function on my DataTable1 and i want that removed(deleted) data which i deleted from DataTable1 should save in datatable5.  i attached snap for reference. 

powerapp.PNG
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at

    Hi @Nasreen 

     

    Then you would either need to have another Table/List to store the Deleted Records, or you need to use a Collection.

     

    And in your Remove (Delete) Button (or however you trigger it), you would need to add this (Selected Row) to your Trash Data Source.

     

    Then in your Trash Data Table, bind to that Source.

     

    You don't provide any pictures or details etc on how you are removing, but what I said is how you would do it.


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Nasreen,

    What is your Data source? SP list?

     

    Not sure how you configure the delete function on your side, here I have tested on my side for your reference:

    1). Set OnSelect of any column of the DataTable1 as below:

    RemoveIf(list1,ID=DataTable2.Selected.ID);Collect(list2col,DataTable2.Selected)

    Here DataTable2 presents the DataTable1 on your side.

    vqiaqimsft_0-1697169974769.png

    2). Set the DataTable5 Items property as the collection

     

  • Nasreen Profile Picture
    5 on at
     

    Thanks for the response it was quite useful, and my data table source is SP LIST and now I am unable to collect (see) deleted data on datatable5, and can you elaborate step2 which you mention above.

     

    NOTE: I added DataSource for datatable5. which has only one row which has headers and from 2 row i want to store the data.

     

    can you please help me with this? 

     

    powerapp 5.PNG

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard