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
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,713)