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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
CreepyCatLady
Creator
Creator

Concatenate two fields with space in between

Hello all. I have searched the forums for an answer to this and have not found exactly what I need.

I have two fields that I want to combine to make a third. I have successfully accomplished this in the data load editor using the concatenate function as follows:

"OS_VERSION",
CONCAT("OS_NAME", "OS_VERSION") AS "OS_FULL",

Of course, this results in the fields appearing without a space between them. When I try using SQL syntax to add a space, I get an error upon loading the data. I have tried the following to no avail:

"OS_VERSION",
CONCAT("OS_NAME", " ", "OS_VERSION") AS "OS_FULL",  (results in error)

"OS_VERSION",
CONCAT("OS_NAME", ' ', "OS_VERSION") AS "OS_FULL", (results in error)

"OS_VERSION",
CONCAT("OS_NAME" & & "OS_VERSION") AS "OS_FULL", (results in error)

What is the proper Qlik syntax for this, please?

 

Labels (1)
10 Replies
dplr-rn
Partner - Master III
Partner - Master III

no problem.

fyi there are some inexpensive courses in udemy which will help you