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

What if Analysis for Net Sales Forecast

Hi,

I have 5 year sales data. Now i want to do what if-analysis for the same.

For Example:

If 2013 jan net sale is 500 and feb is 2000.I used one slider form (-20 to 20) as vPrice.

I took month in dimension and expression as Sum(NetSales)*vPrice

Now, 2013 only has data for jan and feb but when i use the slider, it should automatically take the last year netsales amount and multiply by vPrice automatically till december.

example: Feb Net sales is 2000, so for march Sales= 2000*vPrice, April Sales =2000*vPrice ...Dec Sales = 2000*vPrice

Thanks,

Selva

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw for an example.


talk is cheap, supply exceeds demand

View solution in original post

8 Replies
Gysbert_Wassenaar

See attached qvw for an example.


talk is cheap, supply exceeds demand
Not applicable
Author

hi Gysbert,

I'm a newbie and trying to learn

1. What is in the Include file?

2. where is 'qvc.calendarfromfield '.

thank you!

Not applicable
Author

hi Gysbert,

I'm a newbie and trying to learn

1. What is in the Include file?

2. where is 'qvc.calendarfromfield '.

thank you!

Not applicable
Author

hi Gysbert,

I'm a newbie and trying to learn

1. What is in the Include file?

2. where is 'qvc.calendarfromfield '.

Not applicable
Author

hi Gysbert,

I'm a newbie and trying to learn

1. What is in the Include file?

2. where is the QVC.includefromcalenderfrom field you are using?

Not applicable
Author

hi Gysbert,

I'm a newbie and trying to learn

1. What is in the Include file?

2. where is the QVC.includefromcalenderfrom field you are using?

Gysbert_Wassenaar

The include file is the Qlikview Components library. See here for a tutorial for the calendarfromfield bit.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

In my case, X axis is month and it has 5 years, so i cannot hard code the year and the few years will have 3 months data and few years will have 12 month data

For projection, last month data can be taken for the forecast along with slider value

Whatif.png

For Year 2013, Data is there for Jan,Feb.

If i change the slider, from Mar to Dec dotted line should come and obviously Jan and Feb data will also change accordingly based on slider value and for other years also it should change accordingly.

Thanks,

Selva