Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help On InputField Functionality

Hi All,

I have a requirement on what-if analysis which we have implemented using QlikView InputField functionality.

The below Image is showing the final output format of the requirement.

Input Functionality.PNG.png

InSales and To Sales rows should be Input lines and EndSales should be output line.

The caluclation involved in EndSales is Previous Month EndSales + ToSales - InSales.

So when Ever I change either InSales or ToSales my EndSales should change, which I am able to achieve.

If I change my InSales in March the resultant EndSales of March will change but April EndSales should also change as it depends on March EndSales,

MayEndSales should also change as it depends on April EndSales and so on all the month EndSales should change which I am not able to achieve.

Please help to achieve the logic in Qlikview.

This requirement is possible in Excel as excel points to the cell, I have attached the sample excel report for functionality proof.

Thanks & Best Regards

Swetha

7 Replies
jagan
Luminary Alumni
Luminary Alumni


Hi Swetha,

Can you attach the sample file.

Regards,

Jagan.

preminqlik
Specialist II
Specialist II

hi there,

find attachment.hope this helps you ...

send me sample application ,try chesta....

Regards

Premhas

tmumaw
Specialist II
Specialist II

Hi Premhas,

Need your help.  How did you set the vPrice, vCost and vQuanity?  I don't see it in the script based on the above attachment.

Thanks

Thom

preminqlik
Specialist II
Specialist II

hi Thom,

here we go :

vInput.png

tmumaw
Specialist II
Specialist II

How did you get vcost and vprice on your table (do a table view) ctrl T

Anonymous
Not applicable
Author

Hi!  I tried to load an inputfield on my script but how come my vfield is lost after reloading...

tmumaw
Specialist II
Specialist II

Here is what I did in my script and it works fine:

INPUTFIELD vPCT;

Then be sure and initialize the value in your script, something like this:

0 as vPCT,

Then on your chart use something like this;

InputSum(vPCT)

Hope this helps.