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

Help creating a new field using existing fields

I have two fields:  Product and Real Product

ProductReal ProductMatch
AL-111AL-111MOY
CA-172CA-183LAN
MA-912MA-912MOY
MA-912MA-819MON

I want a new field, 'Match' that uses these two fields. If they first 5 characters are identical, I want the 'Match' field to say 'Y'. If not, 'N'

1 Solution

Accepted Solutions
joshabbott
Creator III
Creator III

Try something like:

if(left([Read Product],5) = left(Project,5), 'Y','N')

View solution in original post

1 Reply
joshabbott
Creator III
Creator III

Try something like:

if(left([Read Product],5) = left(Project,5), 'Y','N')