<?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: How to make 2 tables from one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804810#M284149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help, very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 06:40:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-30T06:40:59Z</dc:date>
    <item>
      <title>How to make 2 tables from one</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804806#M284145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All good health&lt;/P&gt;&lt;P&gt;There are table describes the article and sub&lt;/P&gt;&lt;P&gt;structure:&lt;/P&gt;&lt;P&gt;The foreign key Name, Internal key&lt;/P&gt;&lt;P&gt;If the internal key is null, it is article,&lt;/P&gt;&lt;P&gt;if the internal key is not null, it is a subarticle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make two lists Article and subarticle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the example table&lt;/P&gt;&lt;P&gt;PaymentTypeId ; Name ; ParentId&lt;/P&gt;&lt;P&gt;-1 ; System ; null&lt;/P&gt;&lt;P&gt;0 ; Depositing ; -1&lt;/P&gt;&lt;P&gt;1 ; Payment document ; -1&lt;/P&gt;&lt;P&gt;10 ; Manager ; null&lt;/P&gt;&lt;P&gt;11 ; Receipts ; 10&lt;/P&gt;&lt;P&gt;12 ; Documents ; 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 10:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804806#M284145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-27T10:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to make 2 tables from one</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804807#M284146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, these two LOAD statements separate articles from subarticles but keep their relations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Articles:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD PaymentTypeId AS ArticleId, Name AS ArticleName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;EM&gt;YourDataSource&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE len(trim(ParentId)) = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SubArticles:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ParentId AS ArticleId, PaymentTypeId As SubArticleId, Name As SubArticleName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;EM&gt;YourDataSource&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'courier new', courier;"&gt;WHERE len(trim(ParentId)) &amp;gt; 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804807#M284146</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-27T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to make 2 tables from one</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804808#M284147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or instead of&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;STRONG&gt;Where len(trim(ParentId)) = 0&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;we can use this condition for Articles&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;STRONG&gt;Where IsNull(ParentId) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;and for SubArticles:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;Where Not IsNull(ParentId)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 17:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804808#M284147</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-03-27T17:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make 2 tables from one</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804809#M284148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can follow &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/pcammaert"&gt;pcammaert&lt;/A&gt;&lt;/STRONG&gt; advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 17:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804809#M284148</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-03-27T17:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to make 2 tables from one</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804810#M284149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help, very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 06:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-2-tables-from-one/m-p/804810#M284149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-30T06:40:59Z</dc:date>
    </item>
  </channel>
</rss>

