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 Automate / Getting Total Value fr...
Power Automate
Unanswered

Getting Total Value from a column and used in another list

(0) ShareShare
ReportReport
Posted on by 35

Hello Community, 

 

I'm currently facing an issue with SharePoint lists and could use some assistance. In my SharePoint site, I have two lists related to cost management: "Cost Company" and "Employee Cost."

 

In the "Cost Company" list, I have a calculated column called 'totalcost' that calculates the total cost for each item row, taking into account the value and frequency of the expense. For instance, the administrative total cost is calculated as Value * Frequency and building total cost the same, because is a calculated column I cannot persent a total for this column which I can still pass however I need this total for the another list.

 

Now, in the "Employee Cost" list, I want to create a column called "Distribution" that will display the same value for each employee and is an equal distribution of the company total cost. To achieve this, I'd like the "Distribution" column to calculate the sum of the "total cost" column from the "Cost Company" list and then divide it by 220 days (the total number of working days in a year).

 

I'm wondering if anyone has any ideas on how to achieve this using Power Automate or any other method?

 

Thank you in advance for your help! Any guidance or suggestions would be greatly appreciated.

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hmm. Is there a different set of companies, or a different set of costs? (Like it looks like you said "Administrative"). (I'm trying to identify what we might need to filter by to determine all the specific employees that are associated.) 

     

    How is the Employee connected to the Company Cost? Is their Company or Role or something similar captured somewhere? Maybe if you showed an (anonymized) version of the two lists you have, that could be helpful.

    But, yes you can do this with Power Automate, for sure.

  • Rirag Profile Picture
    35 on at

    Hi ! 

    Thank you for your reply. Here a more precise description of the problem and as advised by you I added some pictures with dummy data of what I will like to achieve. 

     

    In pics 1 we have the first list called Teals cost which have a list of cost and  its value per year and in the last column I compute this value per day, simply by dividing the value for 220 working days. 

     

    In pics 2 we have the second list called Employee Cost here we have the cost per employees per year and also the days cost. I will like compute the contribution of the Teals cost per employee, for that I need the sum of the last column in the first list divided by the number of employee,( 2 in this example) and this valued is the one to be inserted in the column Contribution. If I make the computation manually in the column Distribution of both employees I should have 247,28 as value for the two employees. 

     

    I have made some flow in Power automate but it doesn't work 😞 

     

    Kind regards, 

    Rirag_0-1690183134650.png

     

    Rirag_2-1690183234617.png

     

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard