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 Apps / Updating column value ...
Power Apps
Unanswered

Updating column value from two form fields without duplication

(0) ShareShare
ReportReport
Posted on by 38

I'm trying to update two column numbers based on a drop down selection and a number in another field, but only once a day. So if someone saves the record with the same inputs multiple times, the form/columns wont keep adding or subtracting the numbers over and over. If 16 are available and 8 already used, if you input 8 and save , available would be 8 and used 16. If you save again that day the number shouldn't change. (basically multiple entry error catching)

 

So.....

 

Dropdown                   Number

Item 1                   [________________]

Item 2

 

If the user selects Item 1, the number would subtract from AvailableNow1 and add to Used1 in sharepoint list 1

 

Column Set 1 (used with item 1)

Available Now1           Used1

[_______________]        [_________]

 

If the user selects Item 2, the number would subtract from AvailableNow2 and add to Used2 in sharepoint list 1

 

Column Set 2 (used with item 2)

Available Now2           Used2

[_______________]        [_________]

 

 

but....

if the user makes a mistake with the item chosen in the dropdown and wants to switch from item1 to item2 after saving, is there a way to go back, essentially reset the daily total from columnset1 or columnset2?

 

Categories:
  • WarrenBelz Profile Picture
    156,536 Most Valuable Professional on at

    Hi @adyboon ,

    If you want to allow for the last entry, you could set a Variable with the value before you commit the data. You could then have a "reverse" button or similar that Patches this variable value back to the data. 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

     

  • WarrenBelz Profile Picture
    156,536 Most Valuable Professional on at

    Hi @adyboon ,

    Did you get this sorted?

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard