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 :
Finance | Project Operations, Human Resources, ...
Answered

How can Add a row in my view to show the totals

(0) ShareShare
ReportReport
Posted on by 186

I have a view in which there is a column name cost. Now I have show the total cost.
how can I show that in a view 

anyone?

thanks in advance. 

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi James,

    Do you mean to show a numeric column’s total ,can you share more details?

  • Martin Dráb Profile Picture
    237,912 Most Valuable Professional on at

    You can use a query to get data from the view. If you want to get a total cost of several records, use sum aggregation function.

    For example:

    MyView myView;
    
    select sum(Cost) from myView;

    But you didn't explain where you want to show the value, thefore I can't say what exactly you need to do.

  • James_Oliver Profile Picture
    186 on at

    Thanks for your reply Mr.Martin

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

    Explanation:

    I want to show the Sum Value in the view.

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

    is it possible that somehow I can add a row or anything in the view to show the Sum value.?

  • Martin Dráb Profile Picture
    237,912 Most Valuable Professional on at

    I still don't know anything about your actual requirement, but it seems that you want a view with both transactions and a total, which doesn't make a good sense. The total doesn't belong there - let the view return transactions and query them in any way you like, which includes calculation a total of cost value or some or all transactions.

  • James_Oliver Profile Picture
    186 on at

    Hi Judy,

    Thanks For your reply.

    Yes sure,

    Details:

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

    I have a view in which there's a column name $Cost , Each record has some $Cost

    so what actually I am trying to do is, I have to calculate the cost of all records and show in the view.

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

    If not in the view plz share your idea where can I easily show the calculated Cost of all records

    Thanks

  • huijij Profile Picture
    19,811 on at

    Hi James,

    For numeric columns in UI, the grid footer will also display the total value of a column if applicable. To show a column’s total, right click on the column header and select Total this column.

  • James_Oliver Profile Picture
    186 on at

    Hi Judy,

    Can find this when Right clicking on the columns header.
    see..
    pastedimage1634551766788v1.png

  • Verified answer
    huijij Profile Picture
    19,811 on at

    Hi James,

    4137._5563B783_.PNG

  • James_Oliver Profile Picture
    186 on at

    Hi Judy.

    Thank you for your reply.

    I guess I am using a different grid in which there's no any option for Total this column.

    Can you plz tell me the name of this Grid that you are using.

    Currently I am using Read-only Grid(default)

    Thanks.

  • Martin Dráb Profile Picture
    237,912 Most Valuable Professional on at

    Aha, so you're talking about a form. A view has a special meaning in both F&O development and SQL; I thought you meant that.

    Make sure you've enabled "New grid control" in feature management.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans