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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Link tables

Hi all ,

Can some one help me how to use link tables as i have two fact tables connecting to same dimmension tables, thus causing cirrcular loops and syntetic keys

Please find attachment

Thanks

3 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Hi,

Concatenate() will often work better than a link table. Something like:

Data:

LOAD

  'type1' AS FactType,

  *

From....;

Concatenate (Data)

LOAD

  'type2' AS FactType,

  *

From....;

Hope this helps,

Jason

Not applicable
Author

Hi i cannot concatinate the fact tables as they deal with different measures one fact table is sales and the other fact table is orders

Jason_Michaelides
Partner - Master II
Partner - Master II

Which is why you use the FactType field. In your chart expressions you can use set analysis to distinguish between the different fact types - Sales and Orders.