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: 
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'

Labels (1)
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')