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

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.

主站蜘蛛池模板: 宁南县| 平江县| 孟州市| 莒南县| 高雄县| 福贡县| 星座| 嘉定区| 合山市| 来宾市| 修文县| 朔州市| 常熟市| 博兴县| 揭西县| 凭祥市| 双流县| 永泰县| 澜沧| 天柱县| 丘北县| 遂平县| 佛山市| 乌鲁木齐县| 时尚| 辰溪县| 石柱| 淮滨县| 中宁县| 肃北| 浦北县| 吉木萨尔县| 嘉兴市| 济阳县| 新丰县| 普兰店市| 湖北省| 镇沅| 西充县| 通山县| 长兴县|