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 / Use last record field ...
Power Apps
Unanswered

Use last record field in gallery to enter in current gallery record as calculations

(0) ShareShare
ReportReport
Posted on by 108

Hi!!

First of all sorry for lengthy question. 

I am facing issue with adding some calculations of a record from previous entry in same gallery. Its like update on the basis of previous entry in gallery. Let me explain with example:

Let say, I am working in Microsoft which has offices in different locations say US, India and UK. Each locations have different departments say HR, Finance and Sales. For each department there are employees and we are maintaining their expenses as per their department. During any month we are updating records like Date, Current Balance and Paid amount. There are other fields like Previous balance and Total which are calculated on the basis of last entry.  Have a look at the below screenshot. I have attached same excel file for clear understanding of calculations.

Following are my questions:

1. How can I calculated and show "Previous Balance" in gallery.

2. How can I calculate and show "Total" in gallery?

3. There is starting point of "Previous Balance" which need manual entry. How can enter first entry for "Previous Balance" first time and rest it should be as per calculations in gallery?

4. Also, while doing all these calculations the gallery need to be filtered as per the Country, department selected in last screen. 

 

Thanks in advance whoever takes this challenge and reply me with solution.

Pershad_0-1655487823731.png

 

Categories:
I have the same question (0)
  • ashokpershad Profile Picture
    321 on at

    @WarrenBelz Could you help in it please?

  • ashokpershad Profile Picture
    321 on at

    @iAm_ManCat  @TheRobRush 

    Could you help in it please?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard