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 / Dropdown values not pa...
Power Apps
Answered

Dropdown values not patched correctly in the shareoint

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a gallery with dropdown menu (0,1,2,3) 

Capture.PNG

 i use the following formula to patch the choices from the dropdown into the SP but the data didnt store correctly, how to solve this 

{Safe111:[@Safe].Selected.Value,UnSafe111:[@Unsafe].Selected.Value}

 

Categories:
  • RishabBehl31 Profile Picture
    180 on at

    Hey @MostafaGamal ,

     

    You can try using the below formula:

     

    Patch(SharepointlistName, Default(SharepointlistName) or use any filter formula you want to, {Column1Name : Dropdown1.SelectedText.Value, Column2Name : Dropdown2.SelectedText.Value, ...., Till nth column}).

     

    Hope it helps & simplifies.

     

    Warmly. 🙂

    ----------------------------------------------------------------------------------------------------------------

    Thanks for taking my inputs. If you're digging into it, a Thumbs up is appreciated! Or if my suggestion solved your issue, please Accept it as a solution. This way everyone would be able to get the solution if they face a similar problem

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@MostafaGamal,

    Based on the issue that you mentioned, do you want to patch Dropdown selected to the SP list?

    Could you please share a bit more about the scenario:

    1. are those columns corresponding to the Dropdown Choices type?
    2. do you want to create new records or update the existing records?

    I assume that those are Choices type and you want to create new records.

    I have a test on my side, please take a try as below.

    Set the Items property of the Dropdown as:

     

    Items property: Choices(Safe.Safe111)
    Default property: LookUp(Safe,ID=ThisItem.ID).Safe111.Value

     

    Add a Button and set the OnSelecte property as below:

     

    Patch(
     Safe,
     Defaults(Safe),
     {
     Safe111: {Value: Dropdown1.Selected.Value},
     Safe222: {Value: Dropdown2.Selected.Value}
     }
    )

     

    Note: If those columns corresponding to the Dropdown are Text type, you could modify the formula as below:

     

    Patch(
     Safe,
     Defaults(Safe),
     {
     Safe111: Dropdown1.Selected.Result,
     Safe222: Dropdown2.Selected.Result
     }
    )

     

    Hope it could help you.

    Best Regards,

    Qi

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard