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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
ivandrago
Creator II
Creator II

Concatenate two fields but not in script

Hello,

Is there a fuction that I can use to concatenate two fields together that are coming from two different tables without having to do this within sthe cript? For example i want the filed(Concat Field) to be like below:

TableATableBConcat Field
CatNewCat_New
DogOldDog_Old
HamsterOldHamster_Old


1 Solution

Accepted Solutions
Not applicable

Hi,

Did you Tried this TableA &'_'& TableB ?

View solution in original post

3 Replies
Not applicable

Hi,

Did you Tried this TableA &'_'& TableB ?

john_duffy
Partner - Creator III
Partner - Creator III

Hi Ivan.

Is there a link between the two tables?

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Ivan,

Where are you wanting to see the concatenated field? Srinivasan has already posted the syntax for creating the combined value. If you require it as a dimension in a chart you will need to 'Add Calculated Dimension'. There is no way of having the concatenated field in a list box or a table box in QV 9.0, but I believe you will be able to in QV 10.

If you want the field usage to be more robust dealing with it in the load script would be the best place to do the concatenation. Use of the JOIN statement with a RESIDENT load would probably be required.

Regards,
Steve