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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
chriscools
Creator II
Creator II

how to make an expression to show me what has not sold in a certain period?

Hello,

i can make a list of qty sold per article the last year in our own country, but now we have to prepare for an outlet-event.

and i would like to have a list of all the articles where nothing has been sold the last year in our country (or another chosen period/country).

How would i have to set-up this?

Can someone give me a clue?

thanx!

chris

1 Solution

Accepted Solutions
chriscools
Creator II
Creator II
Author

thank you very much i will try this immediately!

grtz,

chris

View solution in original post

2 Replies
swuehl
MVP
MVP

Use set analysis with a set modifier with implicite field value definitions, like the e() function:

sum( {$<Customer = E({1<Product={‘Shoe’}>})>} Sales )

returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.

[check the HELP for more detail]

Or in your case, something along these lines e.g. in a list box field expression:

=aggr(only({<Product = e({<Year = {2012}>}) >} Product), Product)

chriscools
Creator II
Creator II
Author

thank you very much i will try this immediately!

grtz,

chris