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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Chart Expression

Dear All,

I have a Pivot chart and I need to find a difference calculation.Please help me out.

Please find the attached Excel for more information.

Thanks in advance!

6 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Something like if(below(Quantity)<>0,Quantity-below(Quantity),0)


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

Thanks for your reply.I tried the expression as you mentioned.But it's not working for all the cases, because I may randomly select the PW(say sometimes I can select 3 or 4 or 5 and so on).In those scenario it's not working.

Looking forward for your reply!

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

because I may randomly select the PW

And what result do you expect then?


talk is cheap, supply exceeds demand
Not applicable
Author

Dear Gysbert,

Thanks!

When I am applying the  the Expression given by you,I am getting the following result.

image1.jpg

Expected Result is

Expected Result.jpg

Looking forward for your reply.

Gowthami

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Please post a qlikview document that demonstrates the problem.


talk is cheap, supply exceeds demand
sasikanth
Master
Master

Hi

Try some thing like this,

if(bottom(Quantity,1)<>0,Quantity-bottom(Quantity,1),0)