Hi,
I have the following problem:
I select e.g. the “dates of sale” (2014-01-20 & 2014-01-23) in the bar-chart_1 (sales=20.000 & 25.000). In the second bar-chart (in the same alternate state) I shall be able to find out and to show whole “dates of sale” of the past two years that contain “sales data” roughly figures like sales-data in the bar-chart_1 (with sales 20.000 & 25.000).
I’m wondering if that ever possible by Qlikview functions like set analysis?
Thank you for any help.
Rupert,
I solved my quesion by this statement with set:
=sum( {$<DATE={" <$(=$(vDATE) )" }, SALES={"<$(= $(vSALES) )" }>} SALES)
Whereas vDATE = getfieldselections(DATE) and vSALES=getfieldselections(SALES) are the needed variables.
Best regards
I don't think that you will need alternate states - You should be bale to do this using the selections made. I have attached an example for you to review
Hope this helps
Rupert
Thank you Rupert,
I meant whether is that possible to find a value (pattern) from a chart in another one (in the past) like that:
chart_1: date = 1/1/15, value = 5000
chart_2: e.g. statement = sum( {$<~date < {“selected_Date_in_Chart”}>} sales)
result: date = 5/4/14, value = 4900
date = 28/10/13, value = 5100
Is such pattern possible?
Thank you again.
Rupert,
I solved my quesion by this statement with set:
=sum( {$<DATE={" <$(=$(vDATE) )" }, SALES={"<$(= $(vSALES) )" }>} SALES)
Whereas vDATE = getfieldselections(DATE) and vSALES=getfieldselections(SALES) are the needed variables.
Best regards