Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

What is a link table??

Hey,

Can anyone tell me what is a link table and how it is used ??

Thanks

17 Replies
richard_pearce6
Luminary Alumni
Luminary Alumni

Interview question?

A table purley of keys linking two or more fact tables.

Richard

Qlikcentral.com

Not applicable

hi,

linktable is resloving tha synthatic keys  & loops.

syn:

For Eample :

                   sno&', '&name&' ,' as Name

actuval table:

@

sno name

1   hh

2   mm

3   nn

4   gg

5   ll

Result:

Name

1,hh

2,mm

3,nn

4,gg

5,ll

***

When u have Multiful Fact tables in qlikview we can use linktable. when u they are joined with different Dimension table  that time we 'll use linktable.

nikhilgarg
Specialist II
Specialist II
Author

Hey,

How can i make link table??

Can you please tell.

Thanks.

richard_pearce6
Luminary Alumni
Luminary Alumni

usually you would re-load tables you have and join / concat them in a way to create the link table.

ychaitanya
Creator III
Creator III

Refer to Link table

jagan
Luminary Alumni
Luminary Alumni

Hi,

Check below script

Fact1:

LOAD

Dim1 & '_' & Dim2 & '_' &Dim3 AS Key,

Measure1,

Measure2

FROM FactTable1;

Fact2:

LOAD

Dim1 & '_' & Dim2 & '_' &Dim3 AS Key,

Measure3,

Measure4

FROM FactTable2;

LinkTable:

LOAD DISTINCT

Dim1 & '_' & Dim2 & '_' &Dim3 AS Key,

Dim1,

Dim2,

Dim3

FROM FactTable1;

Concatenate(LinkTable)

LOAD DISTINCT

Dim1 & '_' & Dim2 & '_' &Dim3 AS Key,

Dim1,

Dim2,

Dim3

FROM FactTable1

WHERE NOT Exists(Key, Dim1 & '_' & Dim2 & '_' &Dim3);

Hope this helps you.

Regards,

Jagan.

er_mohit
Master II
Master II

Have a look to this

DailyQV: Link tables

sujeetsingh
Master III
Master III

Link tables are used to link two tables with multiple key like a bridge.

er_mohit
Master II
Master II

Have a look to this

DailyQV: Link tables