web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard