Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

srinivasa1
Contributor

setanalysis sum calculation fo selected date

Hi
I have 2 set of date one is  sondate and other is Actualdate as like below
Header 1Header 2Header 3Header 4
ProductAsondateActualdateAmt
A2/26/20111/31/2011100
A2/26/20112/16/2012200
B3/31/20131/31/20131500
B3/31/20132/28/2013100
B3/31/2013

3/31/2013

200

If I select As on Date 2/26/2011 then need to
calclulate  sum of Actual date (1/31/2011+2/16/2012) it should be 300  can any suggest how I can
achive this in setanalysis

Thanks

5 Replies
calvindk
Contributor III

Re: setanalysis sum calculation fo selected date

If i understand correctly, what you want is Sum(Total <Asondate> Amt) as an expression in that chart

srinivasa1
Contributor

Re: setanalysis sum calculation fo selected date

Thanks for reply.

If i select as on date 2/26/2011  fromlist box

Then total  should be  sum of Actual date Eg

1/31/2011 + 2/16/2012=300

Thanks

Not applicable

Re: setanalysis sum calculation fo selected date

HI ,

      You wanted the OutPut in the Straight Chart table ?

If so then have  only Product and AsOnDate in the Dimension and try to have only sum(Amt) in the Expression.

If not then how you wantd to be seen in which object?

Please  correct me.

//Yusuf

srinivasa1
Contributor

Re: setanalysis sum calculation fo selected date

Hi

Im useing pivot table.in list box Asondate selected then total should be sum of actual date belongs to Asondate

Thanks

calvindk
Contributor III

Re: setanalysis sum calculation fo selected date

Did you try Sum(Total <Asondate> Amt) ?

Community Browser