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 / How to sum up values f...
Power Apps
Unanswered

How to sum up values from a DataSource based on a filter

(0) ShareShare
ReportReport
Posted on by 364

Hi all, 

 

I am wondering what the most efficient way to Sum up numbers from my Dataverse table "Goal Managements" would be. In the app I am developing, employees set goals for the year, and their supervisor assigns a "weight" (value between 0 & 1) to the goals so we can determine how much of an end of year bonus the employee should receive. 

 

Currently, I have a managers screen that filters employee by Office location and Department, but now need to figure out how to sum up the weights for each goal that has been achieved, by each person. (EX: If a person has 4 goals with a .25 weight each meets all of their goals, they should receive 100% of their total possible bonus.) I'd like to be able show the percent value that the employee has currently achieved in a label inside my app, so that a manager can quickly see how much of the bonus the employee has currently earned. 

Aurora_1-1651152336560.png

 

Really, I am just not sure how to grab all the values of goals that are "achieved". I load this form with a gallery that references the DataSource. 

 

If anyone has an ideas or suggestions, I would greatly appreciate it. I can provide more picture / my code for various objects if necessary. 

Categories:
I have the same question (0)
  • filipovicdino Profile Picture
    88 on at

    Hi @Aurora, if you have some kind of Lookup Column which is related to Employee card you can create a RollUp Calculated field which will sum all entered information into weight field if it is numeric field.

     

    Best regards,

    Dino

  • Aurora Profile Picture
    364 on at

    Hi @filipovicdino, would this be done in my dataverse table? I could create a calculated column that sums up all weight values based on the status of another column titled "Achieved". If there is a way to do it inside the app with a Rollup Calculated field, how would I reference each value in the list for the selected employee? 

     

    Thanks for the feedback!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard