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 Automate / Calculation with data ...
Power Automate
Unanswered

Calculation with data from the same column.

(0) ShareShare
ReportReport
Posted on by 2
Hi 
 
I have a situation where I have a SharePoint list where water usage is noted. It look something like this: 
 
 
I need Power Automate to make this calculation: "Water meter reading current day - Water meter reading previous day"  and then update the Water usage column with the result. 
I know I need the trigger: When an item is created or modified. I have tried a lot of different options but I can't seem to get a result that actually works. 
I hope you guys can help. 
Categories:
I have the same question (0)
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Hey, 
     
    so I assume you're trying to get the second to last Record in your table. 
    Try this: 

    first(skip(reverse(your_array), 1))

    If this solved your problem, please mark it as Solved to help others find the solution faster.
    If you found it helpful, consider giving it a Like to support each other in this community!

    Thanks, and happy building!

  • KM986547 Profile Picture
    2 on at
    How will a potential flow look like? 
     
    Sorry I am fairly new in this. 

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard