This example shows how to aggregate your data by string concatenation.
- Form1.cs (VB: Form1.vb)
- StringConcatFunction.cs (VB: StringConcatFunction.vb)
- Program.cs (VB: Program.vb)
In this example, the Grid dashboard item displays СontactName values concatenated by country.
The following expressions aggregates data by string concatenation for СontactName values:
| Calculated Field | Expression |
|---|---|
| Contact names by countries | StringConcat([ContactName]) |
Call the CriteriaOperator.RegisterCustomFunction method to register a custom function in your project.
View File: Program.cs (VB: Program.vb)