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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can you set a join to compare two fields of a different length

I am trying to compare the Reference Doc and Item on the delivery item to the Purchase Order Item table

LIPS~VGBEL = EKPO~EBELN and LIPS~VGPOS = EKPO-EBELP

VGPOS is 6 positions but EBELP is 5.   

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Depends on the content of the fields. Are they numbers or alphanumeric? Can you post some example data?


talk is cheap, supply exceeds demand
Not applicable
Author

could you please attach an example?

Not applicable
Author

Here is an exampleQLIKSCRIPT.PNG

Not applicable
Author

I am still having no luck comparing a 6 position field to a 5 position field.    How can a strip off the 6 position to make it 5 so the compare will work?

Issue is that the item field in most tables in SAP is 6 positions, but in the Purchasing Item table it is only 5 positions.