- Hands-On Business Intelligence with Qlik Sense
- Pablo Labbe Clever Anjos Kaushik Solanki Jerry DiMaso
- 196字
- 2021-07-02 13:05:32
Join/outer join
When you want to get the data from both the tables you use the Join keyword. When you just use only Join between two tables, it is always a full outer join. The Outer keyword is optional. The following diagram shows the Venn diagram for the outer join:

Now, let's see how we script this joining condition in Qlik Sense:
- Create a new Qlik Sense application. Give it a name of your choice.
- Jump to Script editor, create a new tab, and rename it as Outer Join, as shown in following screenshot. Write the script shown in the following screenshot:

- Once you write the script, click on Load Data to run the script and load the data.
- Once the data is loaded, create a new sheet and add the Table object to see the joined table data, as shown in the following screenshot:

As output of Outer Join, we got five fields, as shown in the preceding screenshot. You can also observe that the last two rows have null values for the fields, which come from the Order table, where the customers 4 and 5 are not present.
推薦閱讀
- Canvas LMS Course Design
- Spark編程基礎(chǔ)(Scala版)
- 輕松學(xué)PHP
- JMAG電機(jī)電磁仿真分析與實(shí)例解析
- Hands-On Machine Learning with TensorFlow.js
- 可編程控制器技術(shù)應(yīng)用(西門子S7系列)
- 大數(shù)據(jù)技術(shù)與應(yīng)用
- Storm應(yīng)用實(shí)踐:實(shí)時事務(wù)處理之策略
- Microsoft System Center Confi guration Manager
- 無人駕駛感知智能
- Xilinx FPGA高級設(shè)計(jì)及應(yīng)用
- 大數(shù)據(jù):引爆新的價值點(diǎn)
- R Statistics Cookbook
- 案例解說單片機(jī)C語言開發(fā)
- 我的IT世界