Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Group By Aggregation Error

A:

LOAD ID,

     Product,

     Sales

FROM

[Left Join.xlsx]

(ooxml, embedded labels, table is Sheet1);

B:

LOAD ID,

     Margin,

     Cost

FROM

[Left Join.xlsx]

(ooxml, embedded labels, table is Sheet2);

left join(A)

load *

Resident B;

Drop table B;

//------------------------------------------------------------------------------- Code works till above------------------------

C:

LOAD Count(ID) as Counter;

LOAD ID

     Resident A

     Group By ID;    //( Error: Aggregation expression required by Group By clause. Can anybody explain this?)

1 Reply
MVP
MVP

Re: Group By Aggregation Error

LOAD

     Count(ID) as Counter

Resident A;

No need of Group By as only single column in Load Statement.

Community Browser