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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nicholas5141
Partner - Creator
Partner - Creator

Help in SUM Function during Load Data

Hi, need help on SUM function during load data it keep getting error on Invalid expression when I sum(score) as Point as per attached qvw file.

Thank you!

3 Replies
tamilarasu
Champion
Champion

Hi Nic,

You need to use group by statement and all field names like below,

Student:

LOAD Student_name,

     Category,

     Score,

  SUM(Score) as Point

FROM

[student_grade].xlsx

(ooxml, embedded labels, table is Sheet1)

Group by Student_name,Category,Score ;

tamilarasu
Champion
Champion

Hi Nic,

Did you get the expected output.?

nicholas5141
Partner - Creator
Partner - Creator
Author

I get invalid expression error but I manage to solve it by adding resident load to perform sum.