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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Specialist
Specialist

Invalid expression with COUNT

Hi experts

This expression seems to be incorrect as the load script aborts with "invalid expression":

Count(DISTINCT [Order Number]) as [Count Order],

Any ideas how to fix this?

Thanks for your help

Tom

1 Reply
marcus_sommer
MVP
MVP

You need a group by statement for each field which isn't included within an aggregation.

- Marcus