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: 
Anonymous
Not applicable

Quotes in function

Good afternoon!
Whether there is a method in function concat in quotes to put quotes that they were displayed as separators?
the separator character must be ';' , bur if I write '';'' it does not work

Thanks!

Labels (1)
1 Solution

Accepted Solutions
Anil_Babu_Samineni
MVP
MVP

I think, You want to call like

=Concat(FieldName, chr(39) & ',' & chr(39))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

9 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Hmm, I'm not entirely sure I understand your question.

You want a Concat() function call to use a semicolon as value separator? What's wrong with using ';' ? Stuff like this example should work out of the box.

=Concat(DISTINCT [Product Category], ';')

Peter

kamalqlik
Partner - Specialist
Partner - Specialist

Can you please elaborate your question a more or explain the output you require.

Regards

Kamal

Anonymous
Not applicable
Author

I need not the result like this:

chair,book,

Quotes should be in the result of this function, if it is possible.

'chair','book'

More extended - i need to receive from unrelated table (it is necessary for the task) multiple values so i could assign them to an associated table - with concat on this moment i can assign just one value, i search for the solution of this problem.

Now the function is like:

SUM(<={'$(=Concat())')

where a - associated table

b- unrelated table

Thanks

Anonymous
Not applicable
Author

Thank you for answer, but i need the output like 'chair','book',

So if it is possible, i am trying to understand how can save quotes in the result


Yana

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Like this?

=chr(39) & Concat(DISTINCT [Product Category], chr(39) & ',' & chr(39)) & chr(39)

Anil_Babu_Samineni
MVP
MVP

I think, You want to call like

=Concat(FieldName, chr(39) & ',' & chr(39))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Be careful. This solution has no first or last quote. Just those in the middle.

Anil_Babu_Samineni
MVP
MVP

This makes bit shorter..

=Concat(DISTINCT Chr(39) & Customer & chr(39), ',')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anil_Babu_Samineni
MVP
MVP

I've comment to u earlier like

=Concat(DISTINCT Chr(39) & Customer & chr(39), ',')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful