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: 
nedcliqs
Contributor III
Contributor III

Sum of Rows

Hi Community

I have rows of data for an item but from different sales orders

Since the item description is the same, i want one line (in a straight or pivot table)  that will give me the a total sum for this itemSumRows.JPG

The correct quantity for the above should be 36

May you please help  on how i can have something like (Using a calculation)

BOMITEM_Description                    TOTALQUANTITY

Zipper Bag                                  36

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

And if you try with :    sum( AGGR(sum(BOMITEMQty),Document_No) )

View solution in original post

12 Replies
vishsaggi
Champion III
Champion III

In your straight table chart Remove Document No_ from your dimensions and add

expression as

= Sum(BOMITEMQty)

el_aprendiz111
Specialist
Specialist

Hi,

sum(TOTAL BOMITEMQty)

sergio0592
Specialist III
Specialist III

Just use two text box:

left text box =GetFieldSelections (BOMITEM_Description)
right text box= sum(BOMITEMQty)

nedcliqs
Contributor III
Contributor III
Author

Thanks Vishwarath, unfortunately i still get a 6

nedcliqs
Contributor III
Contributor III
Author

Tried it, thanks, but still getting a 6 instead of 36

Anil_Babu_Samineni

Where are you trying this?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
nedcliqs
Contributor III
Contributor III
Author

Thanks Jean, Description pulls correctly but sum(BOMITEMQty) gives a 6

nedcliqs
Contributor III
Contributor III
Author

All the above suggestions, i have tried on a straight table. Jean's one, i have tried on a Text Object

sergio0592
Specialist III
Specialist III

And if you try with :    sum( AGGR(sum(BOMITEMQty),Document_No) )