Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Challenging.............

Hi  Community,


PFA,

Material & Plant as KEY


Here in my table i have status(ok and invalid),

i want to compare with another table, only invalid field status.......

in my 3rd table i have a QTY field

i want to compare with this field (WRP QTY-ORDER QTY)

based on Material & Plant as KEY

Thanks in Advance.......

10 Replies
Not applicable
Author

Please any one can help me.........

Not applicable
Author

Anybody is there............

Not applicable
Author

I don't understand what you are trying to do.  Can you explain some more?

Not applicable
Author

Hi,

Order Date Material No Plant ATP Qty1 Ordered Qty Cumulative Qty Status
2-11-201328112A016500300200ATP
22-11-201328112A0162002000ATP
24-11-201328112A0160300-300Invalid
24-11-201328112A016-300250-550Invalid
05-12-20131234A0171008020ATP
06-12-20131234A0172030-10Invalid

WRP_Table:

LOAD *, [Material No] & '|' & [Plant] as Key

INLINE [

MaterialNo1, Plant1, WRP Qty

28112,         A016,     350

1234,           A017,     80];

Here in my table invalid fields (Negative values), compare with the Order Qty and  WRP_Qty

(WRP QTY-ORDER QTY)

like this   WRP_Qty=350

               OrderQty= 300

350-300=50 status should be OK

based on Material & Plant Key



Thanks in Advance

Not applicable
Author

Hey Sunil,

I created a field called 'Flag'. Let me know if it meets your requirement.

Not applicable
Author

Made a small change based on your recent explanation.

check it now and let me know.

Thanks

AJ

Not applicable
Author

Hi Ajay,

Output would be

Order DateMaterial NoPlantRWt QtyATP Qty1Ordered QtyCumulative QtyStatusStatus_Flag
2-11-201328112A016350500300200ATPATP
22-11-201328112A0163502002000ATPATP
24-11-201328112A0163500300-300InvalidOk
24-11-201328112A016350-300250-550Invalidok
05-12-20131234A017801008020ATPATP
06-12-20131234A017802030-10Invalidok

RWT Qty-Order Qty= Status_Flag

Not applicable
Author

Sorry used the wrong field. Check this one out.

Thanks

AJ

Not applicable
Author

Thank U Ajay..

I did small correction.........