<?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 do this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173972#M42965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Svilen&lt;/P&gt;&lt;P&gt;Not exactly what you asked for but might be good enough?&lt;/P&gt;&lt;P&gt;it gives you the products in separate product columns for each invoice, with many products this might not be very useful&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2620.svilen.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2620.svilen.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jun 2010 15:43:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-02T15:43:41Z</dc:date>
    <item>
      <title>How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173971#M42964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I have the following table:&lt;/P&gt;&lt;P&gt;Invoice No. Product&lt;/P&gt;&lt;P&gt;1 ball&lt;/P&gt;&lt;P&gt;1 spoon&lt;/P&gt;&lt;P&gt;2 shirt&lt;/P&gt;&lt;P&gt;2 spoon&lt;/P&gt;&lt;P&gt;2 ticket&lt;/P&gt;&lt;P&gt;3 shirt&lt;/P&gt;&lt;P&gt;...........................................&lt;/P&gt;&lt;P&gt;How can I convert it to:&lt;/P&gt;&lt;P&gt;Invoice No. product product product .................&lt;/P&gt;&lt;P&gt;1 ball spoon&lt;/P&gt;&lt;P&gt;2 shirt spoon ticket&lt;/P&gt;&lt;P&gt;3 shirt&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 14:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173971#M42964</guid>
      <dc:creator />
      <dc:date>2010-06-02T14:48:11Z</dc:date>
    </item>
    <item>
      <title>How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173972#M42965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Svilen&lt;/P&gt;&lt;P&gt;Not exactly what you asked for but might be good enough?&lt;/P&gt;&lt;P&gt;it gives you the products in separate product columns for each invoice, with many products this might not be very useful&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2620.svilen.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2620.svilen.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 15:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173972#M42965</guid>
      <dc:creator />
      <dc:date>2010-06-02T15:43:41Z</dc:date>
    </item>
    <item>
      <title>How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173973#M42966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, fields in the table can't have the same name, so you can't just use product, product and product. And also, we normally LIKE tables in your initial format. But if you really want to change it, one way that kind of does what you want is a generic load.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LEFT JOIN ([Table])&lt;BR /&gt;LOAD *&lt;BR /&gt;,if("Invoice No."=previous("Invoice No."),peek("Product Number")+1,1) as "Product Number"&lt;BR /&gt;RESIDENT [Table]&lt;BR /&gt;ORDER BY "Invoice No."&lt;BR /&gt;;&lt;BR /&gt;[Generic]:&lt;BR /&gt;GENERIC LOAD&lt;BR /&gt; "Invoice No."&lt;BR /&gt;,'Product ' &amp;amp; "Product Number" as "Product Number"&lt;BR /&gt;,"Product"&lt;BR /&gt;RESIDENT [Table]&lt;BR /&gt;;&lt;BR /&gt;DROP TABLE &lt;TABLE&gt;&lt;BR /&gt;;&lt;P&gt;&lt;/P&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 20:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173973#M42966</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-02T20:53:33Z</dc:date>
    </item>
    <item>
      <title>How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173974#M42967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to both of you.&lt;/P&gt;&lt;P&gt;Actually I don't need to put field labels on top I want to have a table in which each row to start with invoice No. and after that all products associated with this invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 07:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173974#M42967</guid>
      <dc:creator />
      <dc:date>2010-06-03T07:35:45Z</dc:date>
    </item>
    <item>
      <title>How to do this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173975#M42968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah. Well a very simple approach, though it doesn't keep separate columns, is to simply concatenate:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Dimension = Invoice No.&lt;BR /&gt;Expression = concat(Product,', ')&lt;/P&gt;&lt;P&gt;To keep separate columns, you could make a pivot table like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Dimension 1 = Invoice No.&lt;BR /&gt;Dimension 2 = valueloop(1,3)&lt;BR /&gt;Expression = subfield(concat(Product,','),',',valueloop(1,3))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 16:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this/m-p/173975#M42968</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-03T16:54:31Z</dc:date>
    </item>
  </channel>
</rss>

