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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ajsjoshua
Specialist
Specialist

Forecasted orders

Hi all,

I have two dates Upload week and forecast week ,i am using upload week in my calendar.

If user select uploadweek=2,it should display orders for uploadweek=1 and forecastweek=2

my answer should be 13

  

UploadWeekForecastWeekorders
1112
1213
1312
1411
1544
1632
1772
1843
1926
11066
11112
11243
2154
2232
2376
2454
2532
2642
2753
2845
2923
21023
21112
21223
16 Replies
stephenedberkg
Creator III
Creator III

Dear susovan.g ,

share this expression. i am using personal edition.

susovan
Partner - Specialist
Partner - Specialist


Hi Friends,

Try this script and use Sr.no as a dimension in list box.

LOAD *,

RowNo() as Sr.no;

LOAD * INLINE [

UploadWeek, ForecastWeek, orders

1, 1, 12

1, 2, 13

1, 3, 12

1, 4, 11

1, 5, 44

1, 6, 32

1, 7, 72

1, 8, 43

1, 9, 26

1, 10, 66

1, 11, 12

1, 12, 43

2, 1, 54

2, 2, 32

2, 3, 76

2, 4, 54

2, 5, 32

2, 6, 42

2, 7, 53

2, 8, 45

2, 9, 23

2, 10, 23

2, 11, 12

2, 12, 23,

];

Warm Regards,
Susovan
ajsjoshua
Specialist
Specialist
Author

Hi,

Thats not my requirement find the sample attached.

susovan
Partner - Specialist
Partner - Specialist

Hi Joshua,

PFA

Warm Regards,
Susovan
ajsjoshua
Specialist
Specialist
Author

Hi,

I am using personal edition brother pls share the expression.

susovan
Partner - Specialist
Partner - Specialist

Hi,

I do not use any calculated expression for the "Order".

Warm Regards,
Susovan
ajsjoshua
Specialist
Specialist
Author

Hi susovan.g

The forecasted orders should be calculated whenever the user selects a week from the calendar(upload week).