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

Formula Question

Hello!  I have a document loaded into Qlikview.  I need to sum inventory by store by SKU number.  when I use the formula =sum(inventory) in the expressions is sums all the inventory for the whole company and says that is what each store has on hand.  which I know is not correct.  Any ideas on what I should try?  the document looks like this:

Store Name:                              On Hand                            SKU

Store Number 1                         4                                        123456

Store Number 2                         7                                        123456

Store Number 3                         6                                        123456  

Store Number 1                         8                                        456789

Store Number 2                         9                                        456789

Store Number 3                         2                                        456789      

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a straight table with Store Name and SKU as dimensions and sum(inventory) as expression.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

use

aggr(sum(inventory),[Store Name],SKU)

Qrishna
Master
Master

See attached for a demo.

Qrishna
Master
Master

Any Luck?