web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown from collecti...
Power Apps
Unanswered

Dropdown from collection not updating or updating a different gallery item

(0) ShareShare
ReportReport
Posted on by 2
Hello,
 
I am fairly new to PowerApps so please pardon my ignorance. I am following a tutorial on Udemy and been confused by the behaviour of using a dropdown. You can see in the gif below that when I select an item from the dropdown, sometimes it  updates another gallery item instead of itself, sometimes it updates with the wrong value as well. That is the case whether I use either of these
 
Patch(colOrders, ThisItem,{Order: Self.Selected.Value}) or
Patch(colOrders, ThisItem,{Order: Dropdown1.Selected.Value})
powerappsbehavior...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at
    What is in colOrders (what is the collect code) and do you have a unique identifier field in it ?
  • DT-16121015-0 Profile Picture
    2 on at
    What is ColOrders? U should have a primary index for each record.
    try ...
    Patch(
    colOrders,
    LookUp(
    colOrders,
    ID= ThisItem.ID
    ),
    {
    Order: Dropdown1.Selected.Value
    }
    )
  • DB-15121022-0 Profile Picture
    2 on at
    ColOrders is a collection
    ClearCollect(
        colOrders,
        {
            Employee: "Dane B",
            Order: "Hamburger"
        },
        {    
            Employee: "John Doe",
            Order: "Salad"
        }
        )
        
     
     
     
     
       
  • Verified answer
    WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at
    Try
    Patch(
       colOrders, 
       LookUp(
          colOrders,
          Employee = ThisItem.Employee
       ),
       {Order: Dropdown1.Selected.Value}
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps   
  • WarrenBelz Profile Picture
    153,032 Most Valuable Professional on at
    @DB-15121022-0​​​​​​​
    A quick follow-up to see if you received the answer you were looking for or if you need further assistance.

    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    Buy me a coffee

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard