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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
fishmanl
Contributor III
Contributor III

finding the latest Purchase orders

Hi 

I have the following scenario:

i have a fact table which has, the following fields:

ItemCode, SupplierCode, DocDate, PurchDocNum, ObjType (has 2 types: 103 and 101 for each PurchDocNum)

my mission is to Flag each combination of: ItemCode&SupplierCode  in PurchDocNum when ObjType =103 

that have combination on ItemCode&SupplierCode when ObjType =101  in a date greater than the date is when  ObjType =103

 

i atteached csv copy of the data

 

thank you!

 

 

 

2 Replies
Saravanan_Desingh
MVP
MVP

Can you explain with an example? Sorry I could not understand.

fishmanl
Contributor III
Contributor III
Author

I manged to do it, Thank you