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 / Different Dropdown Val...
Power Apps
Unanswered

Different Dropdown Values in Gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I'm new to Powerapps and try to do something that is pretty complicated for me. Maybe someone can help me out.

 

So i created a catalog of different items like an online shop. I can collect an Item to the shopping cart without a problem. I also have an shopping cart overview with all my selected items, prices, quantity etc. (see screenshot)

Noschi_1-1633071489342.png

 

What i am trying to do now is updating the selected quantity of a product. For example: I dont want to have 1 of product 210100 but 3. I implemented a dropdown menu to select the amount.

I tried this Code:

 

OnChange:

 

 

UpdateIf(Collection1; Number = ThisItem.Number; {Amount:DropDownAmount.Selected.Value})

 

 

 The problem is, if i select a different value it changes all values in my gallery. But im trying to change only the value of one item in the collection.

 

I hope this is clear enough and someone will be able to help me with this.

 

Thanks a lot !

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

     Hi @Anonymous 

     

    Based on your statement of the problem, I'm confident the "Itemtofind" not finding the correct record.

    UpdateIf(Collection1; ItemToFind; {Amount:DropDownAmount.Selected.Value})

     

    Number = ThisItem.Number is not a unique record on the collection. Looks like, we need to find the record of  "BC016-1/D1" or MGE8-1 to make It unique like

     

    UpdateIf(Collection1; Number = ThisItem.Number && Another condition; {Amount:DropDownAmount.Selected.Value})

     

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Please let us know if anything needs on your post. We can help with this.


    Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard