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: 
apthansh
Creator
Creator

colon in data issue

I have data like

Region

Int'l Americas

But I have to rename this to Americas so I am using below expression but that give me error...

If(Region =' Int'l Americas','Americas') as Region

Qlikview doesnt like this .how do I resolve this sissue ?

1 Solution

Accepted Solutions
Nicole-Smith

You can escape the ' in your string by putting another ' before it:

If(Region = 'Int''l Americas','Americas') as Region

View solution in original post

3 Replies
Frank_Hartmann
Master II
Master II

try this in script:

If(Region ='Int'&Chr(39)&'l Americas','Americas') as Region

hope this helps

Nicole-Smith

You can escape the ' in your string by putting another ' before it:

If(Region = 'Int''l Americas','Americas') as Region

apthansh
Creator
Creator
Author

Thank you:)