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 Apps / Aggregate data of tabl...
Power Apps
Unanswered

Aggregate data of tables in model-driven apps

(0) ShareShare
ReportReport
Posted on by 59

Hello community,

This may seem pretty basic, but I can’t find how to do this. I have three tables related to the user table like in the following image:

danielmbaquero_0-1632168830377.png

 

Each of the tables have different scores for each user.

I want to show in the model-driven app an aggregate of the scores of each table for the logged user. This aggregate can be a sum or an average. I can’t find how to do this.

Any help would be kindly appreciated.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

EDIT:

This is what the expected output would look like:

User 0001

Table 1Score average

User 0001

Table 2Score average
User 0001

Table 3

Score average
User 0002Table 1Score average
User 0002Table 2Score average
User 0002Table 3Score average
I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @danielmbaquero ,

     

    You can look at rollup fields.  You would be able to create three fields on the User with each one defined as a rollup of the one of the tables.  Here is an overview (https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/define-rollup-fields?view=op-9-1

     

    Realistically, long term if you are looking to do a number of calculations over time including averages by quarter, by year, year to date, counts, sums etc. I usually go just to Power BI as the options are MUCH BETTER!

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.

     

    Thanks,


    Drew

  • danielmbaquero Profile Picture
    59 on at

    Hi @dpoggemann,

     

    You are a genius! It was as easy as I thought and work as expected.

    I do not want to user PowerBi because of license limitations in my organization.

    Once again, thank you!

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard