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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can there be a SUM() function in the Preceding Load? It is not working for me. If not, why is that not allowed?

Can there be a SUM() function in the Preceding Load? It is not working for me. If not, why is that not allowed?

Thanks!

Labels (1)
4 Replies
sunny_talwar

Yes you can have Sum (with a group by statement) in preceding load.

Kushal_Chawda

Yes, you can write in preceding load. see this

Benefit of using Preceding load ..

tresB
Champion III
Champion III

You can. You have to just be careful about the Group By clause. Try like:

Load

          Sum(Sales) as TotalSales

          Country

Group By Country;

Load

          *

From <>:

Colin-Albert
Partner - Champion
Partner - Champion

To use any aggregation in the load script; sum, count, max etc, there must be a "group by" clause.