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 / Gallery: get calculate...
Power Apps
Unanswered

Gallery: get calculated value from previous row

(0) ShareShare
ReportReport
Posted on by

Hi there,

 

I'm trying to create a PTO calculator. All payment periods are in an Excel sheet on our sharepoint site. I added a gallery connected to the Excel sheet and filter the payment periodes so only the future ones are shown.

 

At the top there is the current balance, hours per PP and (based on hire date) an accrual rate. The combination leads to an amount of accrual hours per PP. 

 

For each row (= PP) I added 2 textboxes. On for the user to enter planned PTO and the second to show the calculated new balance.

 

For the first row this calculation works fine because I can use the current start balance at the top, add the accrual hours to it and substract the planned PTO. So far so good.

 

But for all other rows I need the calculated balance from the previous row , and I can't get it working. Through the LookUp function I'm able to get a field value from the previous row, but it seems I can't access the calculated value, probably because it's an added field and not part of the connected list.

 

Screenshot 2023-12-05 121536.png

Does anyone have an idea how to proceed? Any tip or trick is much appreciated!

Screenshot 2023-12-05 121536.png
Categories:

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard