Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
rsdhavle
Creator III
Creator III

Query related to data model

I am getting data from two tables. One contains current cube values and other has previous cube. Both has same columns as A, B , C.

When i run script as qlikview behaves it will automatically join tables on all the 3 columns. But its not displaying values when Column C is missing on some values in previous cube.

For modelling it properly should i use composite key or i should use some Join?

5 Replies
sunilkumarqv
Specialist II
Specialist II

use NoConcatenate statement in script in middle of the table

Exp:

TabA:

A

B

C

From datasoure...;

NoConcatenate

TabB:

A

B

C

From datasoure...;

Not applicable

You can also use, left keep or right keep or inner keep based on your requirement, just replace join by keep to avoid concatenation

rsdhavle
Creator III
Creator III
Author

Thanks..just one thing addition to it..lets say i want to join these two tables on C column then what to be done?

I don't need join on other two columns

Not applicable

Just rename these columns in of the tables by using as

sunilkumarqv
Specialist II
Specialist II


Try like this Exp:

TabA:

A

B

C

From datasoure...;

Concatenate(C)

TabB:

A

B

C

From datasoure...;