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

Script

CustomerLedgerEntry:

LOAD

          *,

          If(sum([Remaining Amount])>1000000 ,sum([Remaining Amount]),0) as Group1

Resident CustomerLederEntry;

DROP Table CustomerLederEntry;

during Reload it reflects invalid Expresion .. whats wrong????

3 Replies
Not applicable

Since you are using sum() function, you must have group by clause.

Regards,

Kiran Rokkam

rajni_batra
Specialist
Specialist
Author

still giving the same error..

Not applicable

remove * after reload and substitute only those fields respect to which you want to take group by as:

load

[Remaining Amount],

If(sum([Remaining Amount])>1000000 ,sum([Remaining Amount]),0) as Group1

Resident CustomerLederEntry group by [Remaining Amount] ;

DROP Table CustomerLederEntry;

regards

vijit