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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

Solved

Solved

2 Replies
sunny_talwar

Use Chr(39) for single quote.

UPDATE: I guess you are using Concat function or GetFieldSelections may be?

Try this if its Concat:

Concat(Chr(39) & FieldName & Chr(39), ',')

or this if it is GetFieldSelections:

Chr(39) & GetFieldSelections(FieldName, Chr(39) & ',' & Chr(39), 1000000) & Chr(39)

hic
Former Employee
Former Employee

Using Chr(39) will work, just as Sunny suggests. A second possibility is to use an escape sequence in your Set or Let statement. See Escape sequences

HIC