Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

what is link table plz give with exaple friends.

Hi friends this is babu, plz help me this.

what is link table plz give with exaple friends.

plz help me friends.

9 Replies
vikasmahajan

Refer my post  explain in details https://community.qlik.com/thread/110627

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
vikasmahajan

also look this Re: what is use of link tables ,how to use it

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
sujeetsingh
Master III
Master III

(…) a junction table is a database table that contains common fields from two or more other database tables within the same database. It is on the many side of a one-to-many relationship with each of the other tables. Junction tables are known under many names, among them cross-reference table, bridge table, join table, map table, intersection table, linking table, many-to-many resolver, Link Table, pairing table, pivot table, transition table, or association table. (…).”

gautik92
Specialist III
Specialist III

If you have two fact tables with some common fields you can concatenate both tables to create a link table.that link table will be like a fact table

prma7799
Master III
Master III

Hi Babu,

Please go through below

There are two main strategies to modelling data in QlikView to handle multiple fact tables:

  1. Append your fact tables into one single fact table - usually referred to as a CONCATENATED FACT as QlikView's syntax for appending data to tables is by use of the CONCATENATE prefix (the equivalent of a SQL UNION operation)
  2. Build a link table (what you have done so far) For a majority of implementations, option 1 is the appropriate method. Attributes of a CONCATENATED fact can be summarised as:

Positives:

  1. Performs well due to the reduced number of large tables in the data model
  2. Simple to implement, just append all data to one generic fact table whilst ensuring common dimensions are referenced by common field names

Negatives:

  1. The different facts are NOT directly associated with each other. The implication is important to understand. It means that cross-analysis of facts is typically only achievable by the common dimensions. Any fact specific dimensions do not connect in any way to the records of the facts that do not reference these dimensions. Complex 'set analysis' syntax can to some degree mitigate this shortcoming, but if your core requirement is to do indirect analysis of fact A by fact B's fact specific dimensions then you may need to revert to a link table model instead.

How to construct Link Tables is a complex subject but relies upon traditional database linking table design techniques. It is easy to go wrong and produce linking tables that may seem to produce the correct results in the front-end but is excessively large, consuming memory and CPU resources.

In my experience, a poorly modelled QlikView data model is the most common culprit for causing poor performance.

I hope this quick, far from exhaustive, introduction to multi-fact modelling in QlikView proves of some help and sets you on the right course.

prma7799
Master III
Master III


Link tables are generally used for linking the two table or the fact tables. With the use of link tables, it’s possible to keep the fact tables separated from each other. The advantage of this solution  for choosing this method is to keep the data model a logical one. With the use of link tables, it’s possible to keep the fact tables separated from each other.


Not applicable
Author

hi,

Go through this link it might help u.

Re: what is use of link tables ,how to use it

Anonymous
Not applicable
Author

HI,

Link tables are what is often outside of QlikView in other BI-environments/DWH and in general called bridge tables. The purpose and the concept is the same. These tables maintain a many-to-many relationship between two or more tables. Link tables should be evaluated in respect to another approach that is CONCATENATED fact tables.

Excerpt from QlikView material about link tables:

When to use a Link Table

Let's look at when a link table might be required. Generally if you have a data model with multiple fact tables, that contain different measures and only minimal common dimensions, then you will likely need a link table. If your fact tables store their data at different levels of granularity i.e. a transactional table with daily data and a targets table with monthly data, then you will almost certainly need a link table. The purpose of the link table is to provide a seamless lik between all data in your application so that QlikView's (or Qlik Sense's) associative technology can be used to it's full potential. A badly implemented Link Table will have a significant and negative impact on the user's experience.

Henric Cronström in several of his blog posts and discussions on this forum recommend using concatenated fact tables in most cases instead of link tables. Link Tables are a necessity however when you need something called an alias dimension or role-playing dimension. Henric Cronström's paper on CANONICAL DATE shows in detail how a link table is created and maintained for this specific purpose

A special case of link table is the automatic creation of synthetic keys which QlikView does in the load script if it encounters two or more tables with more than one field (based on field-name) in common. Then it has to resort to this technique and create an intervening table it calls [$Syn <n> Table]. Also the use of INTERVAL MATCH will create a key and table like that which is in this case absolutely valid and necessary.

Regars

Gireesh

qlikviewwizard
Master II
Master II

Hi,

Check for link table from slide number 30. Hope this will help you.