<?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 create Product Hiearchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-Product-Hiearchy/m-p/148551#M26828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try out this below code.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Table1:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;left(ProdCode,3) as Products&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;From..... ;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Table2_Old:&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;left(Prodcode,3) as P1,&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;left(Prodcode,4) as P2,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;left(Prodcode,5) As P3,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;from ..... ;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Noconcatenate&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Load P1,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;P2,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;P3&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Resident Table2_Old where exists(Products,P1);&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;drop table Table2_Old;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 17:58:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-06T17:58:38Z</dc:date>
    <item>
      <title>How to create Product Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Product-Hiearchy/m-p/148550#M26827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having 2 tables which contains the product deatils&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first Table i am using left(ProdCode,3) as Products to extract products with first 3 charcters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and from Table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using left(Prodcode,3) as P1&lt;/P&gt;&lt;P&gt;left(Prodcode,4) as P2&lt;/P&gt;&lt;P&gt;left(Prodcode,5) As P3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to join Table 1 and Table 2 on condition where Left(Prodcode,3) from table 1 matches P1,P2,P3 so that a product hiearchy is formed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck&lt;/P&gt;&lt;P&gt;can anyone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 17:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Product-Hiearchy/m-p/148550#M26827</guid>
      <dc:creator />
      <dc:date>2009-07-06T17:43:49Z</dc:date>
    </item>
    <item>
      <title>How to create Product Hiearchy</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Product-Hiearchy/m-p/148551#M26828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try out this below code.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Table1:&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;left(ProdCode,3) as Products&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;From..... ;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Table2_Old:&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;left(Prodcode,3) as P1,&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;left(Prodcode,4) as P2,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;left(Prodcode,5) As P3,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;from ..... ;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Noconcatenate&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Load P1,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;P2,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;P3&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Resident Table2_Old where exists(Products,P1);&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;drop table Table2_Old;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 17:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Product-Hiearchy/m-p/148551#M26828</guid>
      <dc:creator />
      <dc:date>2009-07-06T17:58:38Z</dc:date>
    </item>
  </channel>
</rss>

