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: 
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!

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 ..

tresesco
MVP
MVP

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.