<?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: Sequential Data pull format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sequential-Data-pull-format/m-p/467493#M1149950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want two tables then you need to use &lt;EM&gt;left keep&lt;/EM&gt; instead of &lt;EM&gt;left join. &lt;/EM&gt;Also the second select statement will retrieve all the records and Qlikview will later match the records with those of the the first table. You could rewrite the second sql statement so a join is done on the database server to limit the number of records returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Left Keep LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;T1.Field05 as [PartNumber],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;T1.Field06 as [Whse],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;T1.Field07 as [Qty];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;EM&gt;&amp;lt;Blah Blah DB Table1&amp;gt; T1, &lt;EM style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;&amp;lt;Blah Blah DB Table2&amp;gt; T2&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;T1.Field05 = T2.&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;Field01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;AND T1.Field06 = &lt;/SPAN&gt;&lt;EM style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;AND T2.&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;Field02 = &lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: 'courier new', courier;"&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;AND T2.Field04 = &lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: 'courier new', courier;"&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2013 19:23:24 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-06-12T19:23:24Z</dc:date>
    <item>
      <title>Sequential Data pull format</title>
      <link>https://community.qlik.com/t5/QlikView/Sequential-Data-pull-format/m-p/467492#M1149948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m pulling data from an AS400 (ODBC) and what I would like&lt;BR /&gt;to do is use the results of one query to drive the next (or a group). So here’s&lt;BR /&gt;my current methodology:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;// Query establishing master list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;TblPartsList:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field01 as [PartNumber],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field02 as [ItemDesc],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field03 as [ListPrice],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field04 as [Company];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM &lt;EM&gt;&amp;lt;Blah Blah DB Table&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE Field02 = &lt;EM&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt; AND Field04 = &lt;EM&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;//Query pulling related information from another table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LEFT JOIN (TblPartsList) LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field05 as [PartNumber],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field06 as [Whse],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Field07 as [Qty];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM &lt;EM&gt;&amp;lt;Blah Blah DB Table&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE Field06 = &lt;EM&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is a large single table that contains both part&lt;BR /&gt;description data (static) as well as inventory data where the same part could&lt;BR /&gt;exist in multiple warehouses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I believe I want is two tables that are linked (joined)&lt;BR /&gt;on the PartNumber field. Or 3 tables one containing part numbers only, one&lt;BR /&gt;having the description data, and the last having the inventory data. Can&lt;BR /&gt;someone point me in the right direction? Or am I thinking about this the wrong way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 19:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequential-Data-pull-format/m-p/467492#M1149948</guid>
      <dc:creator>hobanwashburne</dc:creator>
      <dc:date>2013-06-12T19:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sequential Data pull format</title>
      <link>https://community.qlik.com/t5/QlikView/Sequential-Data-pull-format/m-p/467493#M1149950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want two tables then you need to use &lt;EM&gt;left keep&lt;/EM&gt; instead of &lt;EM&gt;left join. &lt;/EM&gt;Also the second select statement will retrieve all the records and Qlikview will later match the records with those of the the first table. You could rewrite the second sql statement so a join is done on the database server to limit the number of records returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Left Keep LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;T1.Field05 as [PartNumber],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;T1.Field06 as [Whse],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;T1.Field07 as [Qty];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;EM&gt;&amp;lt;Blah Blah DB Table1&amp;gt; T1, &lt;EM style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;&amp;lt;Blah Blah DB Table2&amp;gt; T2&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;T1.Field05 = T2.&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;Field01&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;AND T1.Field06 = &lt;/SPAN&gt;&lt;EM style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;AND T2.&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;Field02 = &lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: 'courier new', courier;"&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;AND T2.Field04 = &lt;/SPAN&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: 'courier new', courier;"&gt;&amp;lt;SOMETHING&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 19:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequential-Data-pull-format/m-p/467493#M1149950</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-12T19:23:24Z</dc:date>
    </item>
  </channel>
</rss>

