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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
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?

1 Solution

Accepted Solutions
sunny_talwar

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

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

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.