Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

Peek and create flag

Hello,

Here is my original data set in the application.

REQ field is just repeating.

Any help ism highly appreciated.

     

ITEMLocationAvailableAvailableDateREQCan fill
1Dallas20410/24/2017104104
1Dallas30011/5/2017104
1Dallas6011/15/2017104
1Dallas20412/1/2017104
1Dallas20412/2/2017104
2Chicago3510/21/201722
2Chicago4012/1/20172
2Chicago4412/1/20172
2NY3812/5/20173
2NY4312/5/20173
3Chicago30010/21/2017250250
3Chicago012/1/20172
3Chicago012/1/20172
3NY312/5/20174003
3NY1012/5/2017

3

21 Replies
markgraham123
Specialist
Specialist
Author

I see only 204.

It is not 2014

markgraham123
Specialist
Specialist
Author

Anil,

I see only 204.

Where do you see 2014?

Anil_Babu_Samineni

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
markgraham123
Specialist
Specialist
Author

Oh.

I apologize.

It is a typo.

it should be 204

sujith1011
Partner - Creator
Partner - Creator

Please provide your expected output, with sample data

Anil_Babu_Samineni

What are these codes? Give some background what youtried and it helps to save sometime. We are fine with your expected result but no use of your explanation ..


Qlik Community Tip: How to Get Answers to Your Post

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
markgraham123
Specialist
Specialist
Author

Sujith,

It should look for available qty and available date and create a new filed - 'Can Fill' with how much can it fill ?

ITEMLocationAvailableAvailableDateREQCan fill
1Dallas20410/24/2017104104
1Dallas30011/5/2017104
1Dallas6011/15/2017104
1Dallas20412/1/2017104
1Dallas20412/2/2017104
2Chicago3510/21/201722
2Chicago4012/1/20172
2Chicago4412/1/20172
2NY3812/5/20173
2NY4312/5/20173
3Chicago30010/21/2017250250
3Chicago012/1/20172
3Chicago012/1/20172
3NY312/5/20174003
3NY1012/5/2017

3

sujith1011
Partner - Creator
Partner - Creator

What about the data for ITem 1 Available 300 available date 11/5/2017 ,

is REQ 104, why is can fill blank, shouldn't it be 104 as well ?

markgraham123
Specialist
Specialist
Author

Sujith,

104 is the just repeating quantity by Place and ITEM. (Nature of data)

Since, we got 104 for ITEM 1 and location Dallas at 10/24.

So, the demand 104 is closed.

markgraham123
Specialist
Specialist
Author

Let me put it more simple.

I'm tring to create a logic with the below sample data:

   

ITEMIncoming_QtyIncoming Date  RequiredCan fill
18110/19/2017 0:00    12681
112211/1/2017 0:0045
121411/1/2017 0:00
1233

11/9/2017 0:00

I have 126 units of demand.

I'm looking at when can i get my qty - I have multiple dates.

So, i see that i'm getting 81 on one date.

So, i can fill only 81 units.

Now, the rem. quantity is 45. This can be filled with the incoming qty on 11/1/2017.

Req O/P: 'Can fill' column in the above table.