Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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)

krishna_2644
Specialist III
Specialist III

See attached for a demo.

krishna_2644
Specialist III
Specialist III

Any Luck?