cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NabeelNQ
Helper II
Helper II

Increment of numerical value by one of a record selected through gallery

Hello PowerApps Community!

 

I have anpother doubt.

 

I have different events in a gallery, with a numerical value - No. of Visitors

 

After a user selects an event, she / he has to complete a 3 page form, and only after they have completed the form, the value of No. of visitors in that particular event should increase by one.

 

I am not able to increase the value of the selected event by one after the form is completed.

 

Please help me out.

 

Thanks! 🙂

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @NabeelNQ,

 

You could set the OnStart property of the app to:

Set(ValueToIncrement,1)

Then set the OnSelect property of the submit button to:

SubmitForm(Form1);Set(ValueToIncrement,ValueToIncrement + 1)

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey Mona,

 

What if I want to submit this value for a particular record and then recall and add.

 

For Ex, If there are three records, I want to increase the value of the second value and then submit it back to the data source. So I hace three distinct values and can increase their values individually by one.

 

Thanks!

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,448)