Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Collapse]Pivot Grid
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Binding to Data
   [Collapse]Data Shaping
    [Collapse]Summarization
     [Expand]Summaries
     [Collapse]Totals
       Automatic Totals
       Grand Totals
       Custom Totals
       Running Totals
      Aggregation Levels
     Grouping
    [Expand]Sorting
    [Expand]Filtering
    [Expand]Editing
     Data Formatting
   [Expand]Data Analysis
   [Expand]Layout
   [Expand]Focus and Navigation
   [Expand]Printing and Exporting
   [Expand]Appearance
   [Expand]Design-time Features
   [Expand]Miscellaneous
   [Expand]UI Elements
   [Expand]End-User Capabilities
   [Expand]Examples
   [Expand]Member Tables
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Grand Totals

Grand Totals are calculated for all the data which is currently displayed in the PivotGridControl. Row Grand Total(s) are row(s) which display summary totals calculated against all the rows. Column Grand Total(s) are column(s) which display summary totals calculated against all the columns.

By default, if there are multiple data fields the Pivot Grid Control displays multiple column grand totals (for each data field), and a single row grand total.

To reverse the layout and display multiple row grand totals and a single column grand total, set the PivotGridOptionsDataField.Area property to PivotDataArea.RowArea.

The summary function used to calculate an automatic grand total is determined by the PivotGridFieldBase.SummaryType property of the corresponding data field.

By default, if a single value of an outer column field is listed along the control's top edge, the column grand total(s) is not displayed. Similarly, the row grand total(s) is not displayed if a single value of an outer row field is listed along the control's left edge. To display grand totals in this case, set the PivotGridOptionsViewBase.ShowGrandTotalsForSingleValues property to true.

To hide column and row grand totals, use the PivotGridOptionsViewBase.ShowColumnGrandTotals and PivotGridOptionsViewBase.ShowRowGrandTotals properties. It's also possible to hide grand totals that correspond to a particular data field. Use the field's PivotGridFieldOptions.ShowGrandTotal property to do this.

Expanded See Also

How would you rate this topic?​​​​​​​