Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
selvakumarsr
Creator
Creator

Comparing Pyrchace order with Packing List to find exceed quantity

Hi All,

I have two tables. One is Purchase order and other one is packing list like below

PO:

LOAD
[Po Number] &'#'& [Item Code]&'#'& [P.O. Position] as _#KEY,
[Po Number],
[ItemCode],
[P.O. Quantity],
[P.O. Position]
FROM
[..\PO\PO.xlsx]
(ooxml, embedded labels, table is Sheet1);

PL:

LOAD
[Po Number] &'#'& [ItemCode]&'#'& [PL P.O. Position] as _#KEY,

PLQTY,

PLNUMBER,

[PL P.O. Position]

FROM
[..\PL\PL.xlsx]
(ooxml, embedded labels, table is Sheet1);

Using this, im getting the below result

Po NumberItem CodeP.O. PositionPL QuantityPO QuantityPO VS PLExceeded/Not Exceeded
P0110012252084.00084.0000.000Not Exceeded
P01100122514673.00073.0000.000Not Exceeded
P0110012253327.0007.0000.000Not Exceeded
P0110012254286.0006.0000.000Not Exceeded

 

But my purchase order also has P.O Position 498 with PO quantity of 100 which is not delivered in the packing list (Its not available in PL table) which i need to display like below table.

Po NumberItemCodeP.O. PositionPL QuantityPO QuantityPO VS PLExceeded/Not Exceeded
P0110012252084.00084.0000.000Not Exceeded
P01100122514673.00073.0000.000Not Exceeded
P0110012253327.0007.0000.000Not Exceeded
P0110012254286.0006.0000.000Not Exceeded
P0110012254980.000100.0000.000Not Exceeded

 

Is there a way to display in a table like above.

 

Thanks,

Selva

Labels (1)
2 Replies
QlikJunkie
Contributor
Contributor

Brett_Bleess
Former Employee
Former Employee

Selvakumar, it is your P.O. Position that is creating the issue, as that value only exists in one of the tables, so I do agree with the other poster, a join of some sort of the two tables would likely be the best solution here. 

Here is another Design Blog post that may be of some help to you:

https://community.qlik.com/t5/Qlik-Design-Blog/To-Join-or-not-to-Join/ba-p/1463102

If the other post did help you get what you needed, do not forget to come back and use the Accept as Solution button to mark the post which will give the poster credit for the help and let others know it did work for you.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.