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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

About the expression

Hello;

I have this sentence in my table expression:

concat({<Type={'Store'}>}Model,' ; ')

I want to insert all new Models in new line (Instead to separate the models with ";" sign)

How can I do this?

Elad

Labels (1)
6 Replies
Not applicable
Author

seems right. What kind of error you get?

concat(Distinct Name,' ; ') is the code. How he works without set analys?

Not applicable
Author

Instead of them all being on one line, you want them all to be on separate lines?

If so, then you need to add Model as a dimension.

johnw
Champion III
Champion III

Put the new line between the quotes. You may also need the "distinct" keyword depending on your data model.

concat({<Type={'Store'}>} distinct Model,'
')

boorgura
Specialist
Specialist

You can use chr(10) in place of ' ; '.

chr(10) is equivalent to next line.

Not applicable
Author

I use chr(13) for new lines.

boorgura
Specialist
Specialist

chr(10) maps to new line

chr(13) maps to carriage return... finally doing the same thing Big Smile