cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Detecting if a row disappeared

So I have an excel file with 3 columns called "Person1", "Person2" and "Person3" and a lot of rows each one with an unique ID, let's say user "a" is "Person1", if I (not "a") delete a row where "a" is in, how can I make the app do something on that user's app (notify for example) if that happens?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @Anonymous 

 

You can use collection to collect the deleted ones.

Icon(Cancel).OnSelect=Remove(Table1,ThisItem);Collect(deleteones,{Row:ThisItem,Time:Now()})

(Table1 is the ExcelTable on my side)

 

Example:

deleteones.gif

 

If you want to send the deleted ones by email, you can reference this :

https://powerusers.microsoft.com/t5/General-Discussion/Email-a-collection/td-p/31517

https://powerusers.microsoft.com/t5/Using-PowerApps/Exporting-Gallery-from-PowerApps/td-p/79367

 

Best Regards.

Yumia

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Hi @Anonymous 

 

You can use collection to collect the deleted ones.

Icon(Cancel).OnSelect=Remove(Table1,ThisItem);Collect(deleteones,{Row:ThisItem,Time:Now()})

(Table1 is the ExcelTable on my side)

 

Example:

deleteones.gif

 

If you want to send the deleted ones by email, you can reference this :

https://powerusers.microsoft.com/t5/General-Discussion/Email-a-collection/td-p/31517

https://powerusers.microsoft.com/t5/Using-PowerApps/Exporting-Gallery-from-PowerApps/td-p/79367

 

Best Regards.

Yumia

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,975)