Articles in this section
Category / Section

How to aggregate dimension field values in Grid widget?

Published:

In Bold BI, the grid widget doesn't support aggregation on dimension fields, by default. You can perform aggregation on non-numeric fields by creating expression with aggregation functions like COUNT and DISTINCT COUNT in the grid widget.

Steps to aggregate dimension field values in Grid
Here's an example showing how to create an expression to calculate the count and distinct count of customers using the string field named CustomerID.
  • Click the gear icon in the top right corner of the focused Grid widget in the design canvas.
  • Navigate to the Assign Data tab and click Add Expression.
                        Assign Data Panel showing Add Expression pathAssign Data Panel showing Add Expression path
  • Create an expression field with an expression using COUNT aggregation function and another one using DISTINCT COUNT aggregation function over CustomerID field.
  • Now, configure the expression fields to the grid.                                                  
                   Displaying Count and Distinct Count expression fields in Grid
                                                         Displaying COUNT and DISTINCT COUNT expression fields in Grid 


Related Links

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
RM
Written by Rajendran Murugan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied