<?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 Sum of numbered columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436449#M697832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a possibility to sum up or concat numbered columns?&lt;/P&gt;&lt;P&gt;I implemented a loop which creates columns named like : col_0, col_1, ...col_x&lt;/P&gt;&lt;P&gt;I know the number of created columns by a variable (x). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to work with a flexible number of columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2013 14:04:21 GMT</pubDate>
    <dc:creator>richters</dc:creator>
    <dc:date>2013-02-14T14:04:21Z</dc:date>
    <item>
      <title>Sum of numbered columns</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436449#M697832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a possibility to sum up or concat numbered columns?&lt;/P&gt;&lt;P&gt;I implemented a loop which creates columns named like : col_0, col_1, ...col_x&lt;/P&gt;&lt;P&gt;I know the number of created columns by a variable (x). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to work with a flexible number of columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 14:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436449#M697832</guid>
      <dc:creator>richters</dc:creator>
      <dc:date>2013-02-14T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of numbered columns</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436450#M697833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like rangesum($(=concat( 'col_'&amp;amp;ValueLoop(1,x),',')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 14:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436450#M697833</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-14T14:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of numbered columns</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436451#M697834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used a construction like this: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;LET x = 10;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;LET vCols = 'rangesum(col_1' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;for i = 2 to $(x);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt; LET vCols = '$(vCols)' &amp;amp; ', col_' &amp;amp; $(i);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;next &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;SET vCols = $(vCols));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #333333;"&gt;Thank you!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 10:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-numbered-columns/m-p/436451#M697834</guid>
      <dc:creator>richters</dc:creator>
      <dc:date>2013-02-19T10:56:53Z</dc:date>
    </item>
  </channel>
</rss>

