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 / Remove data from share...
Power Apps
Answered

Remove data from sharepoint on submission

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want the items in the sharepoint list for that specific user to be deleted when the submit button is pressed. I have a statement identical to this in another app and it works perfectly Remove('CPQ Radio', Filter('CPQ Radio', 'Created By'.Email = varUserEmail)). This one is using radio buttons. I just want the sharepoint list to always have the most recent data from that user.

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Where are you putting the remove function?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It is outside of the gallery. It is the button that patches all the selected radio buttons answers which I need to remove with each new submission. @Drrickryp 

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Could you tell me:

    • What is varUserEmail's value?Is it a user's email address stored as a string?
    • How many records are in'CPQ Radio'?

    I assume varUserEmail  is a user's email address.

    Firstly,this formula cannot be delegated.

    In order to avoid delegation issues as much as possible, I suggest you adjust the value of data row limit for non-delegable queries to 2000.

    Secondly,'Created By'.Email can not be used as a string.

    I did a similar test and the following error occurred:

    1.JPG

    Finally,please try:

     

    Remove('CPQ Radio', Filter('CPQ Radio', varUserEmail in 'Created By'.Claims ))

     

    Or

     

    Remove('CPQ Radio', Filter('CPQ Radio',"i:0#.f|membership|"&varUserEmail = 'Created By'.Claims ))

     

    Best Regards,

    Bof

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard