<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Table association issue with customers &amp; payments tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014301#M15098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this does takes us a step forward.&lt;/P&gt;&lt;P&gt;The question now, is if we can use the “Only” measures (which are the sender’s and receiver’s countries) as dimensions for the next step (the goal was to create a report which summarize transactions between countries).&lt;/P&gt;&lt;P&gt;If for that purpose we must prepare the data in advance, in the loading phase, it quite takes the edge off of using QlikSense as an exploration tool.&lt;/P&gt;&lt;P&gt;What do you say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2016 07:18:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-20T07:18:23Z</dc:date>
    <item>
      <title>Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014293#M15090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi guys&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm experiencing with Qlik Sense &lt;SPAN style="font-size: 13.3333px;"&gt;for the last week &lt;/SPAN&gt;I have successfully created many applications but I'm having troubles to generate the right table association in the following scenario:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I've created 2 tables, 'customers' and 'payments'.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The final goal is to create a report that describes the money transfers between countries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For that purpose, 'payments.sender_id' and '&lt;SPAN style="font-size: 13.3333px;"&gt;payments&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.&lt;/SPAN&gt;receiver_id' should both be connected to 'customers.cust_id'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Qlik Sense seems to have a very hard time creating the right associations in&amp;nbsp; this scenario.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I tried a lot of works-around and the only one that worked till now was to duplicate the 'customers' table so one copy will be connected to the sender and the another to the receiver.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Unfortunately this work-around means that if I want to use other customers' data tables, they should also be duplicated.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Can anyone thinks on a more straightforward solution?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;customers&lt;/LI&gt;&lt;/UL&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#000000&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;cust_id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;country&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;USA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;UK&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;France&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;payments&lt;/LI&gt;&lt;/UL&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;payment_id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;sender_id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="color: #ffffff;"&gt;receiver_id&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;amount_usd&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;payment_date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;999991&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;34.87&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2016-01-02&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;999992&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1.76&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2016-01-02&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;999993&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;45.45&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2016-01-07&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2016 20:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014293#M15090</guid>
      <dc:creator />
      <dc:date>2016-01-16T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014294#M15091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option is to transform the sender_id and receiver_id to a cust_id and transactor_type form:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customers:&lt;/P&gt;&lt;P&gt;LOAD cust_id, country&lt;/P&gt;&lt;P&gt;FROM TableCustomers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;payments:&lt;/P&gt;&lt;P&gt;LOAD payment_id, amount_usd, payment_date&lt;/P&gt;&lt;P&gt;FROM TablePayments;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;LOAD payment_id, sender_id as cust_id, 'sender' as transactor_type&lt;/P&gt;&lt;P&gt;FROM TablePayments;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD payment_id, receiver_id as cust_id, 'receiver' as transactor_type&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM TablePayments;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jan 2016 01:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014294#M15091</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-17T01:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014295#M15092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion, t&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;his solution does work for the loading.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;H&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;owever, using that method creates a data model where the customer information of the sender and the receiver are not in a single row, which &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;makes the requested report generation much more &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;complected&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jan 2016 18:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014295#M15092</guid>
      <dc:creator />
      <dc:date>2016-01-17T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014296#M15093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can access the sender / receiver information (for example in a straight table with dimension payment_id) like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;transactor_type = {'sender'}&amp;gt;} cust_id)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Only({&amp;lt;transactor_type = {'receiver'}&amp;gt;} cust_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jan 2016 18:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014296#M15093</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-17T18:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014297#M15094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easy way use applymap, bring required customer table details to payment table.. then it will be single table easy to use..&lt;/P&gt;&lt;P&gt;Note: check if size of data is too huge, then it may take bit more time then join while processing. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 05:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014297#M15094</guid>
      <dc:creator>vinay_hg</dc:creator>
      <dc:date>2016-01-18T05:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014298#M15095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS sender_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS receiver_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country&lt;/P&gt;&lt;P&gt;FROM customers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keeps single record in your Customers table, but will also link to Sender/ Receiver tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 08:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014298#M15095</guid>
      <dc:creator />
      <dc:date>2016-01-18T08:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014299#M15096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but this won’t work.&lt;/P&gt;&lt;P&gt;We can associate the tables based on ‘sender_id’ or ‘receiver_id’ and get the ‘customers’ information for one or the other, but not for both of them.&lt;/P&gt;&lt;P&gt;Associate the tables based on the combination of both columns has no analytic meaning.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 15:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014299#M15096</guid>
      <dc:creator />
      <dc:date>2016-01-18T15:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014300#M15097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apologies - attempted to multi-task and failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duplicating the Customer table would be your best bet. you could do it after you have loaded all the data in though, so you only have to load it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id AS sender_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country AS sender_country&lt;/P&gt;&lt;P&gt;RESIDENT Customers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id AS receiver_id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country AS receiver_country&lt;/P&gt;&lt;P&gt;RESIDENT Customers;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 16:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014300#M15097</guid>
      <dc:creator />
      <dc:date>2016-01-18T16:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014301#M15098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this does takes us a step forward.&lt;/P&gt;&lt;P&gt;The question now, is if we can use the “Only” measures (which are the sender’s and receiver’s countries) as dimensions for the next step (the goal was to create a report which summarize transactions between countries).&lt;/P&gt;&lt;P&gt;If for that purpose we must prepare the data in advance, in the loading phase, it quite takes the edge off of using QlikSense as an exploration tool.&lt;/P&gt;&lt;P&gt;What do you say?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 07:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014301#M15098</guid>
      <dc:creator />
      <dc:date>2016-01-20T07:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014302#M15099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are talking here about a very simple use case.&lt;/P&gt;&lt;P&gt;In general, this solution requires duplication of all tables containing the ‘cust_id’ column.&lt;/P&gt;&lt;P&gt;Quite a burden when we’re talking on a large number of tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 08:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014302#M15099</guid>
      <dc:creator />
      <dc:date>2016-01-20T08:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014303#M15100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a nice solution for my simplified example, however I find it very limited for real-life use cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;We have to create the extended payments table in advance therefore knowing in advance how we want to use the data.&lt;/P&gt;&lt;P&gt;This is an issue for exploration tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;MAPPING relates only a single value to a key.&lt;/P&gt;&lt;P&gt;If we would like to add not just the sender’s and receiver’s countries to the payments table but also other attributes such as the customers’ types or genders, it would requires defining multiple maps, one per attribute which makes this solution quite cumbersome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would have been great if the following syntax would have been supported… ☺&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* The first column (‘cust_id’) is the key, the rest of the columns are the values */&lt;/P&gt;&lt;P&gt;cust_map:&lt;/P&gt;&lt;P&gt;Mapping Load cust_id,country,cust_type,gender resident cust;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Additional argument defines the requested column */&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;ApplyMap('cust_map', sender_id, country   , null()) as sender_country,&lt;/P&gt;&lt;P&gt;ApplyMap('cust_map', sender_id, cust_type, null()) as sender_type,&lt;/P&gt;&lt;P&gt;ApplyMap('cust_map', sender_id, gender    , null()) as sender_gender,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('cust_map', receiver_id, country   , null()) as receiver_country,&lt;/P&gt;&lt;P&gt;ApplyMap('cust_map', receiver_id, cust_type, null()) as receiver_type,&lt;/P&gt;&lt;P&gt;ApplyMap('cust_map', receiver_id, gender    , null()) as receiver_gender,&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;If the customers table holds the country code (instead of the country name like in my simplified example) this solution becomes pretty complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map_country_code_to_country_name:&lt;/P&gt;&lt;P&gt;Mapping Load country_code,country_name resident cntry;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map_cust_id_to_country_code:&lt;/P&gt;&lt;P&gt;Mapping Load cust_id,country_code resident cust;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;ApplyMap('map_country_code_to_country_name',ApplyMap('map_cust_id_to_country_code',sender_id,   null()),null()) as sender_country,&lt;/P&gt;&lt;P&gt;ApplyMap('map_country_code_to_country_name',ApplyMap('map_cust_id_to_country_code',receiver_id, null()),null()) as receiver_country&lt;/P&gt;&lt;P&gt;…&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 10:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014303#M15100</guid>
      <dc:creator />
      <dc:date>2016-01-20T10:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014304#M15101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you prepare your customer tables in your load script, then duplicate the result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;CustT1:&lt;/P&gt;&lt;P&gt;LOAD * FROM Cust_Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (CustT1)&lt;/P&gt;&lt;P&gt;LOAD * FROM Cust_Table2;&lt;/P&gt;&lt;P&gt;DROP Cust_Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INNER JOIN (CustT1)&lt;/P&gt;&lt;P&gt;LOAD * FROM Cust_Table3;&lt;/P&gt;&lt;P&gt;DROP Cust_Table3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sender_Customers:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id as Sender_ID&lt;/P&gt;&lt;P&gt;RESIDENT CustT1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Receiver_Customers:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cust_id as Receiver_ID&lt;/P&gt;&lt;P&gt;RESIDENT CustT1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you load all the different customer tables once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 11:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014304#M15101</guid>
      <dc:creator />
      <dc:date>2016-01-20T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014305#M15102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can only work if there's a relation of 1:1 between all customer's tables, which is rarely the use case.&lt;/P&gt;&lt;P&gt;Imagine for example what would be the result set if two of the tables would be cust_address, and cust_phone where&amp;nbsp; each customer might have multiple records in each table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014305#M15102</guid>
      <dc:creator />
      <dc:date>2016-01-20T15:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014306#M15103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create two calculated dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr( Only({&amp;lt;transactor_type = {'sender'}&amp;gt;} cust_id), payment_id)&lt;/P&gt;&lt;P&gt;=Aggr( Only({&amp;lt;transactor_type = {'receiver'}&amp;gt;} cust_id), payment_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And expressions like&lt;/P&gt;&lt;P&gt;=Only(payment_date)&lt;/P&gt;&lt;P&gt;=Sum(amount_usd)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to analyze the country transactions (yes, you can also reference the country field, since it is linked to cust_id:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=Aggr( Only({&amp;lt;transactor_type = {'sender'}&amp;gt;}country), payment_id)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=Aggr( Only({&amp;lt;transactor_type = {'receiver'}&amp;gt;}country), payment_id)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 18:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014306#M15103</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-20T18:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table association issue with customers &amp; payments tables</title>
      <link>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014307#M15104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there's an opportunity here for Qlik to enhance the support for the use case I have presented, but given our current options - &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;this is a great solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The modifications required in the loading phase are minimal, the data model is simple and efficient and the user has all the options open in the reporting phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chapeau!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dudu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 20:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Table-association-issue-with-customers-payments-tables/m-p/1014307#M15104</guid>
      <dc:creator />
      <dc:date>2016-01-20T20:59:45Z</dc:date>
    </item>
  </channel>
</rss>

