<?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 How to get many tables from one select? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357447#M705517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Martin. I meant sth a bit different but you answer led me to the point.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2012 08:25:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-19T08:25:33Z</dc:date>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357441#M705509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how could I change the below example into one SELECT to get three tables? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Department_1:&lt;/P&gt;&lt;P&gt;SELECT Name, Department FROM Employees WHERE Department = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Department_2:&lt;/P&gt;&lt;P&gt;SELECT Name, Department FROM Employees WHERE Department = 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Department_3:&lt;/P&gt;&lt;P&gt;SELECT Name, Department FROM Employees WHERE Department = 3;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 07:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357441#M705509</guid>
      <dc:creator />
      <dc:date>2012-03-19T07:21:01Z</dc:date>
    </item>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357442#M705511</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; if your qlikview application directly connected with db you can use following SQL statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL Select * from Employees where ﻿Department &amp;lt;=3&lt;/P&gt;&lt;P&gt; or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * From ﻿Emplyees where Department &amp;lt;=3;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 07:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357442#M705511</guid>
      <dc:creator />
      <dc:date>2012-03-19T07:26:59Z</dc:date>
    </item>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357443#M705513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ijprakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I mean is to get 3 seperate tables: Department_1, Department_2 and Department_3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 07:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357443#M705513</guid>
      <dc:creator />
      <dc:date>2012-03-19T07:35:23Z</dc:date>
    </item>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357444#M705514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Przemek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your select order QlikView will generate ONE table with all fields automatically because the table strustures are the same.&lt;/P&gt;&lt;P&gt;To generate three table you need a &lt;/P&gt;&lt;P&gt;noconcatenate load ....&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 07:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357444#M705514</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-03-19T07:35:42Z</dc:date>
    </item>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357445#M705515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin, good point. I've changed the code and coming back to my question - how to change it into one SELECT and get three tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD &lt;SPAN style="font-family: monospace;"&gt;Name, Department;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code jive-sql"&gt;Department_1:&lt;BR /&gt;&lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;SELECT&lt;/SPAN&gt; Name, Department &lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;FROM&lt;/SPAN&gt; Employees &lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;WHERE&lt;/SPAN&gt; Department = 1;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD &lt;SPAN style="font-family: monospace;"&gt;Name, Department;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code jive-sql"&gt;Department_2:&lt;BR /&gt;&lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;SELECT&lt;/SPAN&gt; Name, Department &lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;FROM&lt;/SPAN&gt; Employees &lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;WHERE&lt;/SPAN&gt; Department = 2;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate LOAD &lt;SPAN style="font-family: monospace;"&gt;Name, Department;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code jive-sql"&gt;Department_3:&lt;BR /&gt;&lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;SELECT&lt;/SPAN&gt; Name, Department &lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;FROM&lt;/SPAN&gt; Employees &lt;SPAN class="jive-sql-keyword" style="color: navy; font-weight: bold;"&gt;WHERE&lt;/SPAN&gt; Department = 3;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357445#M705515</guid>
      <dc:creator />
      <dc:date>2012-03-19T08:01:51Z</dc:date>
    </item>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357446#M705516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; for i = 1 to 3&lt;/P&gt;&lt;P&gt;Department_$(i):&lt;/P&gt;&lt;P&gt;noconcatenate select Name, Department from Emplyees where Department = $(i);&lt;/P&gt;&lt;P&gt;next;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you will get three identical tables (from the structure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357446#M705516</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-03-19T08:13:35Z</dc:date>
    </item>
    <item>
      <title>How to get many tables from one select?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357447#M705517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Martin. I meant sth a bit different but you answer led me to the point.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Przemek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 08:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-many-tables-from-one-select/m-p/357447#M705517</guid>
      <dc:creator />
      <dc:date>2012-03-19T08:25:33Z</dc:date>
    </item>
  </channel>
</rss>

