Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error of calculated dimension

Hello

I don't understand why i have this error: "Error of calculated dimension" when i simply execute this : =sum(qterr)/sum(qterb) in a simple table.

qterr and qterb come from a SQL query.

Regards.

2 Replies
swuehl
MVP
MVP

You should not use aggregation functions in a calculated dimension without using advanced aggregation (i.e. the aggr() function). A dimension should return something 1-dimensional, not a scalar.

Dimensions and Measures

AGGR...

When should the Aggr() function NOT be used?

Anonymous
Not applicable
Author

What is your Dimension?

=sum(qterr)/sum(qterb) should be entered as an Expression, not dimension.