Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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.