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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Summing up values from a large UNION query containing sums/groups by's...

Hi all,

I have a large union query containing 5 union elements.

Each one performs a sum and group by from the same SQL server database.

I then need to sum up the result of the UNINO statements.

Now, i'm not sure whether to do this in QlikView script (in which case how do I perform a sum in the LOAD and add a group by at the bottom, when all of the queries have group by's already)

or.. whether to wrap this UNION query into a main query that sums the UNION results - if that makes sense?

answers on a postcard.....

thanks in advance,

Matt

Labels (1)
0 Replies