web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Sum of all the record value in model driven table

(0) ShareShare
ReportReport
Posted on by 35

Hi,

I have a table view like this in my model driven power app

Depratment Number of Employee Number of Project
Dept 1 150 32
Dept 2 100 25

Now I want to add number of employee of each department and number of project of each department. I want to show it as below

Depratment Number of Employee Number of Project
Dept 1 150 32
Dept 2 100 25
Grand Total 250 57

How can I show this in the table. If anyone can help me on this that would be helpfull for me to complete my task

Thanks
Praajna


I have the same question (0)
  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at

    Hi Praajna,

    In Dynamics 365, we cannot get total value directly in the table view as we can in excel.

    One way:

    You can create one report based on current table, then you can get total values:

    pastedimage1677724277029v6.png

    --Add these two column with 'Sum' type when you configure the report:

    pastedimage1677725238878v7.png

    --Run report:

    pastedimage1677725291536v8.png

    Another Way:

    If you don't want to create report and show total value in table view, you can create one record on form firstly, the new row can be shown in the table view.

    For automatic calculation of totals, you can try using rollup column to achieve this if you wish, please refer to the following steps.

    (1) Create 1:N relationship between this table and itself.

    pastedimage1677722640476v1.png

    (2) Create two columns that behavior is rollup and edit:

    pastedimage1677722879418v2.pngpastedimage1677723055842v3.png

    pastedimage1677723444499v4.pngpastedimage1677723466035v5.png

    (3)Add these fields to form and publish.

    (4)Test:

    --Create one new record named with Grand Total:

    pastedimage1677725698134v9.png

    --Update existing records, use new created record as parent depratment:

    pastedimage1677725737960v10.png

    --

    pastedimage1677725853046v11.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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans