Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rpavan17
Creator
Creator

No Concatenate joining the tables Qlik Sense

Hi,

I have two Tables T1 and T2 with same column names C1,C2,C3.

Table X;

Load

C1,

C2,

C3

Resident T1;

Table Y:

NoConcatenate

Load

C1,

C2,

C3

Resident T2;

I have used above script but still joining the table in data model.

Kindly help.

Thanks

1 Solution

Accepted Solutions
ChennaiahNallani
Creator III
Creator III

try like this

Table X;

Load

C1,

C2,

C3

Resident T1;

Table Y:

NoConcatenate

Qualify *;

Load

C1,

C2,

C3

Resident T2;

Unqualify;

View solution in original post

6 Replies
ChennaiahNallani
Creator III
Creator III

try like this

Table X;

Load

C1,

C2,

C3

Resident T1;

Table Y:

NoConcatenate

Qualify *;

Load

C1,

C2,

C3

Resident T2;

Unqualify;

Ivan_Bozov
Luminary
Luminary

This will create a synthetic key. Either rename the fields in one of the tables, e.g. C1 AS T2_C1 or use Qualify:

Table X:

Load

C1,

C2,

C3

Resident T1;

Table Y:

QUALIFY *;

Load

C1,

C2,

C3

Resident T2;

UNQUALIFY *;


Edit: Chennaiah was faster

vizmind.eu
rpavan17
Creator
Creator
Author

Hi,

It is not joining the tables. But, when i would like to do

Table Z:

Load

C1,C2,C3

Resident X;

Concatenate(Table Z)

Load

C1,C2,C3

Resident Y;

Error: C1 not found in Resident Y

Ivan_Bozov
Luminary
Luminary

Is this happening after you use QUALIFY?

First, TableZ will be concatenated to TableX, so maybe drop TableX.

Second, since you use QUALIFY,  C1 does not exist in TableY, it is called something like TableY.C1. Use Load*Resident TableY.


By the way, I am not sure what you trying to achieve with all the resident loads. If you give an example it will be easier for us to help.

vizmind.eu
rpavan17
Creator
Creator
Author

Hi.

It comes as TableY.C1 but it is difficult to read.

I have complex data. So, i need to do this. It was working in Qlikview but i face issue in Qlik Sense.

Thanks..

undergrinder
Specialist II
Specialist II

Hi Pavan R,

With noconcatenate the tables will joins (logically ofcourse), the keyword prevents only the appending.

So you can use qualify or renaming the fields as mentioned Ivan and Chennaiah.

If you don't want to have any connection between the tables, and the qualify don't work as expected, use the renaming.

The association of tables based on the common field names.

G.