官术网_书友最值得收藏!

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:

  1. Create a new Qlik Sense application. Give it a name of your choice.
  2. 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:
  1. Once you write the script, click on Load Data to run the script and load the data.
  2. 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.

主站蜘蛛池模板: 交城县| 奉节县| 东乌珠穆沁旗| 英山县| 图们市| 凤翔县| 石渠县| 抚顺县| 比如县| 定南县| 新竹市| 桃源县| 江达县| 呼图壁县| 肇庆市| 金沙县| 康保县| 建瓯市| 金阳县| 嘉黎县| 庆安县| 弋阳县| 太康县| 布拖县| 宁南县| 永州市| 扎囊县| 安化县| 宜章县| 利川市| 肥西县| 清水县| 奎屯市| 同德县| 濮阳县| 万年县| 仁寿县| 项城市| 平谷区| 仲巴县| 栖霞市|