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 / Creating + - buttons f...
Power Apps
Answered

Creating + - buttons for a gallery

(0) ShareShare
ReportReport
Posted on by 25

Have a gallery where I want simple buttons to add and subtract from the stock want to avoid using a form to input this data.

Categories:
  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    You can use a Patch based on the value of the current item in a gallery. For example, if the quantity you want to increase (with the '+' button) is on a column called 'Quantity', you can have the OnSelect property of the button set to

    Patch(<data source name>, ThisItem, { Quantity: Quantity + 1 })
  • JosefBod Profile Picture
    25 on at

    Thanks Carlos this worked out nicely, the ones that i tried didnt work.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much for your post. I've been trying to figure this out for weeks! You just alleviated so much stress.

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 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard