<?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: Odd Database format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737751#M1062485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load first product1, then product2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Customer, ProductLine1 as Product, Discount1 as Discount, 1 as ProductNumber from 'your source';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Customer, ProductLine2&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as Product&lt;/SPAN&gt;, Discount2&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as Discount, 2&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as ProductNumber &lt;/SPAN&gt;&lt;/SPAN&gt;from 'your source';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;...add more if more products columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will obtain a table with concatenated customers, products and discounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 16:03:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-01T16:03:50Z</dc:date>
    <item>
      <title>Odd Database format</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737749#M1062483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with a database that contains discount codes for product lines by customer. However the format is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer, Product Line 1, Discount 1, Product Line 2, Discount 2,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where for Customer A Product Line 1 is Milk and Product Line 2 is Eggs, &lt;/P&gt;&lt;P&gt;but for Customer B Product Line 1 is Eggs and Product Line 2 is Milk,&lt;/P&gt;&lt;P&gt;and for Customer C Product Line 1 is Bread and there is no Product Line 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I normalize this data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 15:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737749#M1062483</guid>
      <dc:creator>hobanwashburne</dc:creator>
      <dc:date>2014-10-01T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Database format</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737750#M1062484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They is a concept of GENERIC LOAD which is reverse of crosstab. I think you can achieve using that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 16:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737750#M1062484</guid>
      <dc:creator />
      <dc:date>2014-10-01T16:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Database format</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737751#M1062485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load first product1, then product2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Customer, ProductLine1 as Product, Discount1 as Discount, 1 as ProductNumber from 'your source';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Customer, ProductLine2&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as Product&lt;/SPAN&gt;, Discount2&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as Discount, 2&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as ProductNumber &lt;/SPAN&gt;&lt;/SPAN&gt;from 'your source';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;...add more if more products columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will obtain a table with concatenated customers, products and discounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 16:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737751#M1062485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-01T16:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Odd Database format</title>
      <link>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737752#M1062486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a script similar to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;LOAD 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; , [Product Line 1] as Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , [Discount 1] as Discount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From YourTable..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Len(Trim([Product Line 1])) &amp;gt; 0;&lt;/P&gt;&lt;P&gt;Concatenate (FinalTable)&lt;/P&gt;&lt;P&gt;LOAD 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; , [Product Line 2] as Product&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , [Discount 2] as Discount &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From YourTable.. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where Len(Trim([Product Line 2])) &amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 16:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Odd-Database-format/m-p/737752#M1062486</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2014-10-01T16:05:38Z</dc:date>
    </item>
  </channel>
</rss>

