<?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 selection on two independent tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/selection-on-two-independent-tables/m-p/562858#M556608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two tables in our Datamodel, which are not connected to each other, because there isnt a unique key in the database.&lt;/P&gt;&lt;P&gt;This is the delivery table, which includes all supplies per customer per period.&lt;/P&gt;&lt;P&gt;The other table is the complaint table where all the complaints are filed, but no clear attribution to the deliveries.&lt;/P&gt;&lt;P&gt;To get the supplies to a complaint you must first filter the complaints (eg, month, year, customer) and then apply this filter on the delivery table.&lt;/P&gt;&lt;P&gt;Now it may be that there are delivieries in a period for a customer, but no complaints, and vice versa.&lt;/P&gt;&lt;P&gt;We need a view that displays all the complaints and deliveries per customer. So far we get only the correct data if you explicitly select a customer, but not when displaying a list of all customers (no filters selected).&lt;/P&gt;&lt;P&gt;The Appendix contains a .qvw file which contains a simple example of this problem. In addition, an Excel file that contains the desired view of us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;knelt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 08:00:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-11T08:00:48Z</dc:date>
    <item>
      <title>selection on two independent tables</title>
      <link>https://community.qlik.com/t5/QlikView/selection-on-two-independent-tables/m-p/562858#M556608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two tables in our Datamodel, which are not connected to each other, because there isnt a unique key in the database.&lt;/P&gt;&lt;P&gt;This is the delivery table, which includes all supplies per customer per period.&lt;/P&gt;&lt;P&gt;The other table is the complaint table where all the complaints are filed, but no clear attribution to the deliveries.&lt;/P&gt;&lt;P&gt;To get the supplies to a complaint you must first filter the complaints (eg, month, year, customer) and then apply this filter on the delivery table.&lt;/P&gt;&lt;P&gt;Now it may be that there are delivieries in a period for a customer, but no complaints, and vice versa.&lt;/P&gt;&lt;P&gt;We need a view that displays all the complaints and deliveries per customer. So far we get only the correct data if you explicitly select a customer, but not when displaying a list of all customers (no filters selected).&lt;/P&gt;&lt;P&gt;The Appendix contains a .qvw file which contains a simple example of this problem. In addition, an Excel file that contains the desired view of us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;knelt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selection-on-two-independent-tables/m-p/562858#M556608</guid>
      <dc:creator />
      <dc:date>2013-07-11T08:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection on two independent tables</title>
      <link>https://community.qlik.com/t5/QlikView/selection-on-two-independent-tables/m-p/562859#M556609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complaint:&lt;BR /&gt;LOAD ComplaintCustomer as Customer,ComplaintValue INLINE &lt;BR /&gt;[ ComplaintCustomer, ComplaintValue&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;A, 1&lt;BR /&gt;A, 1&lt;BR /&gt;B, 1&lt;BR /&gt;B, 1&lt;BR /&gt;C, 1&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Deliver:&lt;BR /&gt;LOAD DeliverCustomer as Customer,DeliverValue INLINE &lt;BR /&gt;[ DeliverCustomer, DeliverValue&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;A, 20&lt;BR /&gt;B, 30&lt;BR /&gt;B, 10&lt;BR /&gt;D, 45&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then create a chart with dimension as Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression as Sum(DeliverValue) and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression as Sum(ComplaintValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selection-on-two-independent-tables/m-p/562859#M556609</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-11T08:10:28Z</dc:date>
    </item>
  </channel>
</rss>

