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 / column with decreasing...
Power Apps
Answered

column with decreasing value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

looking for some examples on how to achieve the following using powerapps

 

I want to have a column in my sharepoint list data source that has a value that is calculated on a decreasing basis.

 

It's not created yet so I don't have the exact column/field names but it would work like this

 

Sharepoint List Columns

 

Row1   StartingValue: 100        SpendValue:  60   RemainingValue: 40   That part is easy LOL  however when the next item is added (and it will only ever be SpendValue added)  I want the starting value of the new row to be the Remaining value on the previous row...   hope you can follow what I mean

 

Really no clue how to go about this?  Do I use a gallery? to display and then a form to udpate? that seems to make the most sense but how do I tell the calculation to use the last row as it's starting value?

 

I may be over complicating this and there may be a very simple way to achieve it so any advice greatefully received

 

TIA

 

 

 

 

Categories:
  • Verified answer
    EddieE Profile Picture
    4,650 Moderator on at

    @Anonymous 

    Yep you could use a Form to add new records. 

    To set the StartingValue for each new record set the default value of the StartingValue data card to

     

    First(Sort(yourListName, ID, Descending)).StartingValue

     

    This will get the last record in your list and return the StartingValue of that record

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Great thanks I'll try that

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 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard