Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Sum in the script

Hi Expetise


How to perfrom sum in script . I am trying to write
sum(A) - sum(B) as Result
i have taken the resident of the table and used group by also but while reloading it shows the error .
how to handel this ?

Thanks in advance

3 Replies
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

maybe you are missing a field inside group by.

Could you share your script?

smilingjohn
Specialist
Specialist
Author

This is not working 

 

Test:
LOAD Month,
O,
C
FROM
[C:Sample-Runing.xlsx]
(ooxml, embedded labels, table is Sheet1);


Load
Month,
Sum(C)-sum(O) as Running
Resident Test
Group by Month;

 

 

When loaded this is giving the error 

Brett_Bleess
Former Employee
Former Employee

John, what is the error you are receiving?  Screenshot would likely be best, this should give us something better to go on here, as at the moment I have no idea.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.