<?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 loop to get conactenated field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loop-to-get-conactenated-field/m-p/1256389#M620217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have varying levels and have to make concatenated key based on no of fields in it. How can I create a loop some thing like below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let f=NoOfFields('LOCATIONLEVELS');&lt;/P&gt;&lt;P&gt;let f=($(f)-1)/4;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for i=1 to $(f)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Load *,&lt;/P&gt;&lt;P&gt; HIER_L0$(i)_NAME&amp;amp;' ('&amp;amp;HIER_L0$(i)_ID"&amp;amp;')' as LocationAtLevel#$(i)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident LocationLevels;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 17:13:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-23T17:13:54Z</dc:date>
    <item>
      <title>loop to get conactenated field</title>
      <link>https://community.qlik.com/t5/QlikView/loop-to-get-conactenated-field/m-p/1256389#M620217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have varying levels and have to make concatenated key based on no of fields in it. How can I create a loop some thing like below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let f=NoOfFields('LOCATIONLEVELS');&lt;/P&gt;&lt;P&gt;let f=($(f)-1)/4;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for i=1 to $(f)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Load *,&lt;/P&gt;&lt;P&gt; HIER_L0$(i)_NAME&amp;amp;' ('&amp;amp;HIER_L0$(i)_ID"&amp;amp;')' as LocationAtLevel#$(i)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident LocationLevels;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;next i;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 17:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loop-to-get-conactenated-field/m-p/1256389#M620217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-23T17:13:54Z</dc:date>
    </item>
  </channel>
</rss>

