Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Delete items based on user

How can I alter this code so that it does it on a user by user basis. Remove('CCB Voting', Sort('CCB Voting', ID, Descending)) I only want that users records to be removed from the list if that person hit submit. 


Correct, each user gets 10 checkbox submissions per day. Only 10 can be in there at a time for each person, but they can submit however many times they want in a day just in case they change their mind. @Alex_10 

What if you try:


Set(varUserEmail, User().Email);
'CCB Voting', Filter('CCB Voting', 'Created By'.Email = varUserEmail));

View solution in original post

It works, but it will only delete that users records right? @Alex_10 

yes all current user's records

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,225)