Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Collapse]Query Builder
   [Expand]Getting Started
    Binding to Data
    Selecting Tables
    Joining Tables
   [Collapse]Shaping Data
     Data Sorting
     Data Grouping and Aggregation
     Data Filtering
    Previewing Results
    Obtaining the Resulting Query
    Localizing the Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Grouping and Aggregation

You can group data records by a specific column by selecting it and enabling the Group By setting in the Column Properties panel.

After this, you should specify the other selected columns' aggregation using the Aggregate property.

The Query Builder supports the following aggregate functions: Count, Max, Min, Avg, Sum, CountDistinct, AvgDistinct and SumDistinct. Applying any of these functions to a column discards individual data records from the query result set and includes only the aggregate function's result.

Note

You can use aggregation and grouping for all the selected columns or none of them.

Applying aggregation to one column automatically applies grouping to the other selected columns. Removing all the aggregation functions resets grouping against other columns.

Is this topic helpful?​​​​​​​