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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

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.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (3,156)