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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps DataTable
Power Apps
Unanswered

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. 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 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
    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? 

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard