Articles in this section
Category / Section

How to resolve group by issue when using expressions in Bold BI

Published:
Issue Description: 

When an expression is created with columns that are not enclosed by square brackets and are used in the widget, the widget will throw an error as "column must appear in the GROUP BY clause or be used in an aggregate function".

Example expression:

Year(report_date)
Here, the column report_date is not enclosed by square brackets.
Solution:

When using expressions in Bold BI, it's important to ensure that the syntax is correct for the expression to work as expected.

To resolve this issue, make sure that the column names in the expression are enclosed in square brackets. The correct syntax for the expression should be:

Year([report_date])

By using the correct syntax, the group by field should now include the column used in the expression, and the error should be resolved.


Related Articles:

For more information on using expressions and other features in Bold BI, refer to the following resources:



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