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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,168)