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

Table associations

The power of Qlik Sense Associative resides in how your tables are associated. Unlike SQL tools, you don't have to worry about Many-To-One and One-To-Many relationships and predefine the exploration path between your data. You can load your data, set which fields (usually called key fields) are the links between the tables, and Qlik Sense Associative takes care of the rest.

Now, let's see how we can create the associations between the two tables we have loaded:

On the right-hand side of the screen, you can see a section called Recommended associations. While loading your data, Qlik Sense analyzed your tables and proposed how to associate your tables based on a complex algorithm that considers distinct values of each field, column names, and the frequency of each value for each table.

Press the Preview all button to check how Qlik Sense is proposing to associate our tables. It should look something like this:

As you can see, Qlik Sense will draw a blue association between the two tables and highlight the columns in green that it is using as link keys between the two tables. In our case, Qlik Sense chooses CustomerID for both tables as fields that are eligible to link our tables. As an example, VINET values from Orders will match with VINET values from customers. Now, press the Apply all button; you're going to see that the blue connection becomes a dark gray one, indicating that the association was created:

Now, we have to load all tables using the Load data button, and then create all the associations:

If you go to Data model viewer, you will see your tables linked:

In the following screenshot, we can see our two tables and how they are associated:

主站蜘蛛池模板: 抚宁县| 瑞昌市| 高安市| 眉山市| 赫章县| 河东区| 海伦市| 泰宁县| 凌云县| 晴隆县| 烟台市| 滨州市| 平南县| 丹寨县| 昌都县| 呈贡县| 金寨县| 外汇| 陇川县| 海丰县| 安达市| 乌鲁木齐市| 黄骅市| 庆城县| 济源市| 夏津县| 武川县| 上饶县| 丽水市| 庆阳市| 龙岩市| 喀什市| 龙岩市| 沙洋县| 资源县| 盐山县| 太和县| 崇礼县| 新野县| 井研县| 东莞市|