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: 
Not applicable

set analysis problems

Hi i have a pivot table and I am trying to calculate how many products of one brand i have in stock. ok...i can set a timerange for this with a slide bar. what I have selected is the 21.10.2012-18.11.2012.

and my chart looks like this:

brand     1.stock                   1.Date               LastDate

asdf          452                      21.10.2012     18.11.2012

aqwe        0                           28.10.2012     18.11.2012

so for the brand aqwe I dont want the 0 to be shown I want the 1.stock from the 28.10.2012 to be shown. so my expression looks like this: sum({<#Date = {'$(=min(#Date))'}>}#Stock). why does aqwe shows a first stock even though on the 28.10.2012 i had a stock from 770??? if is obviously using the 21.10.2012 as min(#Date) in set analysis. Can someone help me to fix this problem?????

regards,

MT

7 Replies
Not applicable
Author

oh and i forgot the expression for 1.Date is min(#Date) and for LastDate it is max(#Date)

Not applicable
Author

Hi

Can u post a sample file?

TMF

Not applicable
Author

sry I can't these are sensitiv data I'm using

Not applicable
Author

I understand...

You can post a sample file with few records (create a new DB with few records) just for try to help you, if you want.

TMF

Not applicable
Author

I finally got the time to create some sample data

regards,

MT

Not applicable
Author

can someone please help me with this problem! Im not able to find a solution by myself...any kind of help is appriciated.

regards,

MT

Not applicable
Author

can still no one tell me how to solve this?