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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
bsbernabe
Creator
Creator

match first 3digits in a field

Hello There,

My concern is like this 

if 3 digits left of Previews No. is match in Current No. of 3 digits left, how to display or get equal to Current No. ?

Below is a sample data:

Previews No.Current No.
270270R
407407R
803803R

The output should be like below:

Current No.
270R
407R
803R

How can i do this  can anyone help?

Best Regards,

Bing

Labels (1)
1 Solution

Accepted Solutions
mahaveerbiraj
Creator II
Creator II

Hello Bsbernade,

Could you please try below  syntax in script ,

 If( Left([Previews No],3)= Left([Current No],3), [Current No]) as [Current No]

Thanks & Regards 

Mahaveer 

View solution in original post

2 Replies
mahaveerbiraj
Creator II
Creator II

Hello Bsbernade,

Could you please try below  syntax in script ,

 If( Left([Previews No],3)= Left([Current No],3), [Current No]) as [Current No]

Thanks & Regards 

Mahaveer 

bsbernabe
Creator
Creator
Author

Great Thank you so much for fast support.