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 specific value ...
Power Apps
Answered

Remove specific value in sharepoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to remove specific value from dropdown menu to sharepoint.

Im using this code, though it deletes the item selected in the dropdown but it creates another row. It should only delete the selected item

 

Patch(TestAccessList,{'Test Project1':"TestProj",Parents1:Concat(RemoveIf(Split(LookUp(TestAccessList,'Test Project1'="TestProj",Parents1),Char(10)),Result=Dropdown6.SelectedText.Value),Result,Char(10))})

Thank you!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,918 Most Valuable Professional on at

    @Anonymous ,

    It is adding another row because you are using Patch (which is what Patch does) - if you want to delete, you only need the RemoveIf part.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @WarrenBelz thank you for your kind response,

     

    Like this?
    RemoveIf(Split(LookUp(TestAccessList,'Test Project1'="TestProj",Parents1),Char(10)),Result=Dropdown6.SelectedText.Value)

  • WarrenBelz Profile Picture
    154,918 Most Valuable Professional on at

    Hi @Anonymous ,

    I have no idea what you are doing with those (rather unusual) LookUp and Split functions in the middle, but if it identifies the record you need to delete, then yes that is what you need. Your question was why your code was adding a new record.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank so much for your kind response, I've already figured it out using a collection! Cheers!

  • Verified answer
    WarrenBelz Profile Picture
    154,918 Most Valuable Professional on at

    @Anonymous ,
    So is your post answered and can this be closed ?

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 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard