<?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: load data to 1 string per item in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984111#M948458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert to straight table and use Sum(&lt;EM&gt;YourAmountOrQuantity&lt;/EM&gt;) in each expression column to get the required result. QlikView will automatically group rows as long as you keep one dimension column (in this case %Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Dec 2015 11:18:53 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-12-24T11:18:53Z</dc:date>
    <item>
      <title>load data to 1 string per item</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984110#M948457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im sure you can help on this matter quite quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension table which includes some conversion factors (Box, Layer, Pallet) by item. Now i would like to join the data in the loading script to one string by item, which includes LAqty, MKqty, Palqty. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual tabelbox result&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/109940_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;wished result suppose to be like this&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 320px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="80"&gt;%Item&lt;/TD&gt;&lt;TD class="xl64" width="80"&gt;LAqty&lt;/TD&gt;&lt;TD class="xl64" width="80"&gt;MKqty&lt;/TD&gt;&lt;TD class="xl64" width="80"&gt;PALqty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;M86111476&lt;/TD&gt;&lt;TD class="xl64"&gt;200&lt;/TD&gt;&lt;TD class="xl64"&gt;10&lt;/TD&gt;&lt;TD class="xl64"&gt;&lt;P&gt;400&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thansk &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 10:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984110#M948457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-24T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: load data to 1 string per item</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984111#M948458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert to straight table and use Sum(&lt;EM&gt;YourAmountOrQuantity&lt;/EM&gt;) in each expression column to get the required result. QlikView will automatically group rows as long as you keep one dimension column (in this case %Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 11:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984111#M948458</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-24T11:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: load data to 1 string per item</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984112#M948459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD %Item,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(If(Len(Trim(LAqty)) = 0, 0, LAqty)) as LAqty,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(If(Len(Trim(MKqty)) = 0, 0, MKqty)) as MKqty,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(If(Len(Trim(PALqty)) = 0, 0, PALqty)) as PALqty&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By %Item;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 11:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984112#M948459</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-24T11:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: load data to 1 string per item</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984113#M948460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, why the if-len-trim constructs? Sum() will&lt;SPAN style="font-size: 13.3333px;"&gt; automatically&lt;/SPAN&gt; ignore NULL-values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 11:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984113#M948460</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-12-24T11:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: load data to 1 string per item</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984114#M948461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh ya, you are right, I got confused between Avg and Sum. One of those functions is not able to give an output when its null. I thought it was sum, but you are right, its actually Avg which won't work here &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;LOAD %Item,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(LAqty) as LAqty,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum(MKqty) as MKqty,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Sum(PALqty) as PALqty&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;FROM Source&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Group By %Item;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 11:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984114#M948461</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-24T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: load data to 1 string per item</title>
      <link>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984115#M948462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks guys, it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgs Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 12:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-data-to-1-string-per-item/m-p/984115#M948462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-24T12:19:35Z</dc:date>
    </item>
  </channel>
</rss>

