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 Automate / Decremental digits in ...
Power Automate
Answered

Decremental digits in SP list column when form is submitted

(0) ShareShare
ReportReport
Posted on by 943 Season of Giving Solutions 2025
Hi!
 
I have to do a reservation of spots and I am using a list (40 spots in total). I want to do a flow that when a form is submitted, it subtracts 1. So 39, 38... That would be showing in the form so everyone knows how many spots are still available. 
How can I do it so every time a person submits a form, it creates an item and a column gives 1 digit less?
I dont know if I explained it so you can understand it.
The thing is I cant use power apps because I have to give external user permissions and I dont really know who will come so can give access previously. The unique way is using forms. The same happens with list in SP. So they will have to go to forms, see there how many free spots remain and reserve one when submit. Then next one who want to submit a form, will see 1 free spot less.
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    This is not possible with Microsoft Forms. Forms cannot update or modify an item (such as reducing a number in a list) each time someone submits a response. It also cannot display a live value like remaining spots inside the form.
     
    A possible workaround is to use Power Automate with a SharePoint or Microsoft List. When a form is submitted, a flow can create a new item and update a column that tracks the remaining spots. If no spots are available, the flow can simply send an email to the user informing them that the spot is no longer available.
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
  • Verified answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    When you say you will use forms, I assume you mean Microsoft Forms? If not, please specify the type of form you are using. If you are using Microsoft Forms, will the form be used one time only?
     
    Also, it is unclear to me, why do you need this number and how will it be used? It seems like you want to show the result in the form, which is not possible if you are using Microsoft Forms. The closest that you can get to that with Microsoft Forms is to use a pre-filled URL Pre-populate fields in Microsoft Forms via URL parameter? | Microsoft Community Hub.
     
    You could do this if you just need the number calculated for remaining seats:
    1. Initialize an integer variable in your flow named open_seats and set it to 40.
    2. Initialize another integer variable in your flow named baseline_id and set it to the last response ID before you are ready to go live. For example, 10.
    3. When a new response is received, subtract basedline_id from the current response ID (11 would be the next one).
    4. This will result in 1 (response_ID = 11 minus baseline_id = 10) = 1
    5. Take this result, and subtract it from open_seats to return (open_seats = 40 - result = 1) = 39.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard