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

Total sum for several dimensions

I'm using straight table and I have a problem with calculation "Total Qty" - the formula should be sum(Qty) grouped by Code.

Can anyone help me with set analysis formula?

Code

Sub codeQtyTotal Qty
111a2558
111b2358
111c1058
222a1168
222b3468
333c2368
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try sum(total <Code> Qty)


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
sujeetsingh
Master III
Master III

See this sample may be it help you!!

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

i don't know what you expect result. i thought you need total qty in all rows.

use this for total qty for each row

Ex: Sum(TOTAL [Total Qty])

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try sum(total <Code> Qty)


talk is cheap, supply exceeds demand
er_mohit
Master II
Master II

Try this

aggr(sum(Total Qty),Code)

Not applicable
Author

try this

Aggr(sum([Total Qty]),Code)