Skip to content
Autana Business Partners

Types of Joins in Qlikview (Part One)

Published on 1 min read

autanabp

When working with the Qlikview Script we can make use of the Join function. In today's post we will talk about two specific types of Join: Left Join and Right Join. Let's see how they work.

To see how it works, we will use two example tables:

Table 1:

Client CodeName
1Marian
2David
3Yolanda

Table 2:

Client CodeFavorite Color
1Blue
4Green
3Red

Both Joins will be done using the fields that match in both tables, in the example, Customer Code.

LEFT JOIN:

When we use a Left Join all records in the first table will be kept and only records in table 2 that match table 1 will be kept.

Using the tables in our example, it would look something like this:

Client CodeNameFavorite Color
1MarianBlue
2David
3YolandaRed

RIGHT JOIN:

When we use a Right Join all records in the second table will be kept and only records in table 1 that match table 2 will be kept.

Using the tables in our example, it would look something like this:

Client CodeFavorite ColorName
1BlueMarian
4Green
3RedYolanda

Updated on

Tags

← Back to the blog

  • Data Management

    Optimization of energy consumption

    Discover how the optimization of energy consumption reduces costs and environmental impact. Learn to analyze data, simulate scenarios, and implement energy-saving strategies.

    Read article

  • Analytics

    Talent retention in the digital age: how analytics can help

    Learn how talent retention in the digital age benefits from analytics. Discover how data helps reduce turnover and retain your top employees.

    Read article

  • Success Stories

    Proyect Sourcing Optimization

    In the digital age, Project Sourcing Optimization has become essential for companies aiming to enhance their purchasing processes. By integrating data-driven decision-making and…

    Read article