<?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: From Variable list to field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/From-Variable-list-to-field/m-p/1768048#M59404</link>
    <description>&lt;P&gt;Found it myself, script function subfield magically creates several rows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set vGO = '201902','201903','202004';&lt;BR /&gt;let CountYearMonths = num(SubStringCount('$(vGO)', ','))+1;&lt;/P&gt;&lt;P&gt;NrOfMonths:&lt;BR /&gt;Load&lt;BR /&gt;mid(YearMonth, 2,6) as YearMonth;&lt;BR /&gt;Load&lt;BR /&gt;subfield('$(vGO)', ',') as YearMonth&lt;BR /&gt;autogenerate(1);&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 19:55:10 GMT</pubDate>
    <dc:creator>pauljohansson</dc:creator>
    <dc:date>2020-12-11T19:55:10Z</dc:date>
    <item>
      <title>From Variable list to field</title>
      <link>https://community.qlik.com/t5/App-Development/From-Variable-list-to-field/m-p/1768035#M59402</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;anyone that can share a code snippet to create a field from variable list (Note, the variable contain several values).&lt;/P&gt;&lt;P&gt;Example, the following list should be transformed to a field with 3 rows:&lt;/P&gt;&lt;P&gt;VariableList:&amp;nbsp; '202001', '202002', '202003';&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;br&lt;BR /&gt;Paul&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 18:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/From-Variable-list-to-field/m-p/1768035#M59402</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2020-12-11T18:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: From Variable list to field</title>
      <link>https://community.qlik.com/t5/App-Development/From-Variable-list-to-field/m-p/1768048#M59404</link>
      <description>&lt;P&gt;Found it myself, script function subfield magically creates several rows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set vGO = '201902','201903','202004';&lt;BR /&gt;let CountYearMonths = num(SubStringCount('$(vGO)', ','))+1;&lt;/P&gt;&lt;P&gt;NrOfMonths:&lt;BR /&gt;Load&lt;BR /&gt;mid(YearMonth, 2,6) as YearMonth;&lt;BR /&gt;Load&lt;BR /&gt;subfield('$(vGO)', ',') as YearMonth&lt;BR /&gt;autogenerate(1);&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 19:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/From-Variable-list-to-field/m-p/1768048#M59404</guid>
      <dc:creator>pauljohansson</dc:creator>
      <dc:date>2020-12-11T19:55:10Z</dc:date>
    </item>
  </channel>
</rss>

