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: 
brunopaulo
Partner - Creator II
Partner - Creator II

Convert String into Script language

Hello,

I have the following table:

Field1        |          Field2

a                              tr125.415

a                              gf768.989

b                            zk098.988

 

And other table

Field1                     |                     Rule

a                                                     left(Field2,3)
b                               |                    right(Field2,5)

 

The second table is an excel file that can be updated. 

What i want: Load a table where transforms Rule field into Qlik Script language and the end result should be:

 

Field1          |              Field2              |           Result

a                                    tr125.415                    tr1

a                                   gf768.989                     gf7

b                                 zk098.988                       8.988

 

Can anyone awnser and help me with this?

thanks in advance

Best Regards

Bruno Paulo

Labels (1)
10 Replies
Saravanan_Desingh
MVP
MVP

Evaluate wont work here as it is String Manipulation and not Expression. So, I have use Pick-Match.