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: 
qlik_advance
Contributor II
Contributor II

how to write expression

I have field 

(Region)

AP_India_1234

 

Result:     India-1234

I want result like that then what should I do for that 

 

Thanks

1 Solution

Accepted Solutions
amrinder
Creator
Creator

Hey,

 

Try this:

 

SubField(Region,'_',2)&'-'&SubField(Region,'_',3)

 

Regards,

Amrinder

View solution in original post

4 Replies
amrinder
Creator
Creator

Hey,

 

Try this:

 

SubField(Region,'_',2)&'-'&SubField(Region,'_',3)

 

Regards,

Amrinder

shiveshsingh
Master
Master

May be this?

 

T:

Load SubField(Region,'_',2)&'-'&SubField(Region,'_',3)   as Result

Table_Name.qvd;

qlik_advance
Contributor II
Contributor II
Author

thanks
qlik_advance
Contributor II
Contributor II
Author

thanks..