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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Apostropohe in text

I am trying to use a show conditional expression to show a text box when a particular channel is selected, however, the value defined in the dimension has an apostrophe in the text string.

If(Channel = 'Angie's List', True(), False()).

This causes an error in the expression due to the apostrophe in the name of the channel. 

Thoughts?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this:

If(Channel = 'Angie''s List', True(), False()).

Note, I used two single quotes and not a double quote above

Escape sequences

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

Try this:

If(Channel = 'Angie''s List', True(), False()).

Note, I used two single quotes and not a double quote above

Escape sequences

Not applicable
Author

Thanks Sunny!

That was quick too!  I tried all sorts of combinations, but didnt think to try two single quotes.

sunny_talwar
MVP
MVP

Ya unless you know about it, it is difficult to think that something like that would exist. Def. go through HIC's blog and you will learn many other interesting things about the escape sequence.