Skip to content

This example demonstrates how to count distinct values (the number of orders with equal product quantities) and display the result in the Pivot Grid.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-pivot-grid-implement-the-distinct-count-summary-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for WinForms - Create a Custom Summary to Display a Distinct Value Count

This example demonstrates how to count distinct values (the number of orders with equal product quantities) and display the result in the Pivot Grid.

screenshot

Data Field Expression
Count Distinct DistinctCount([OrderID])

Call the CriteriaOperator.RegisterCustomFunction method to register a custom function in your project (see Form1.cs/Form1.vb).

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This example demonstrates how to count distinct values (the number of orders with equal product quantities) and display the result in the Pivot Grid.

Topics

Resources

License

Stars

Watchers

Forks