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_0-1651168602800.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. 

I have the same question (0)
  • HAK Profile Picture
    7 on at

    I think for dataverse, you could use a calculated column or a rollup column depending on your requirement. You can define conditions on the calculated column it self . Please see the link below,
    Calculated and rollup columns

     

     

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
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard