Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Creator III
Creator III

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

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

- Marcus