<?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 Separating A String And Filling In Value Between A Range (Subfield) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Separating-A-String-And-Filling-In-Value-Between-A-Range/m-p/1856219#M70667</link>
    <description>&lt;P&gt;First Off, I know I can use Subfield function to add rows for the "," and even the "-" dashes.&amp;nbsp; What I am trying to figure out is how can I populate the missing values in the range of items with the "-".&lt;/P&gt;
&lt;P&gt;Example: String is 30-50.&amp;nbsp; I can use Subfield(Field name, "-" to get the following:&lt;/P&gt;
&lt;P&gt;Row 1: 30&lt;/P&gt;
&lt;P&gt;Row 2: 50&lt;/P&gt;
&lt;P&gt;What I want to get is:&lt;/P&gt;
&lt;P&gt;Row 1: 30&lt;/P&gt;
&lt;P&gt;Row 2: 31&lt;/P&gt;
&lt;P&gt;Row 3: 32&lt;/P&gt;
&lt;P&gt;Etc.&lt;/P&gt;
&lt;P&gt;Attached is a sample file with data I am trying to do this with in the Qlik Script.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 21:10:40 GMT</pubDate>
    <dc:creator>bxprokop</dc:creator>
    <dc:date>2021-11-05T21:10:40Z</dc:date>
    <item>
      <title>Separating A String And Filling In Value Between A Range (Subfield)</title>
      <link>https://community.qlik.com/t5/App-Development/Separating-A-String-And-Filling-In-Value-Between-A-Range/m-p/1856219#M70667</link>
      <description>&lt;P&gt;First Off, I know I can use Subfield function to add rows for the "," and even the "-" dashes.&amp;nbsp; What I am trying to figure out is how can I populate the missing values in the range of items with the "-".&lt;/P&gt;
&lt;P&gt;Example: String is 30-50.&amp;nbsp; I can use Subfield(Field name, "-" to get the following:&lt;/P&gt;
&lt;P&gt;Row 1: 30&lt;/P&gt;
&lt;P&gt;Row 2: 50&lt;/P&gt;
&lt;P&gt;What I want to get is:&lt;/P&gt;
&lt;P&gt;Row 1: 30&lt;/P&gt;
&lt;P&gt;Row 2: 31&lt;/P&gt;
&lt;P&gt;Row 3: 32&lt;/P&gt;
&lt;P&gt;Etc.&lt;/P&gt;
&lt;P&gt;Attached is a sample file with data I am trying to do this with in the Qlik Script.&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 21:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Separating-A-String-And-Filling-In-Value-Between-A-Range/m-p/1856219#M70667</guid>
      <dc:creator>bxprokop</dc:creator>
      <dc:date>2021-11-05T21:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Separating A String And Filling In Value Between A Range (Subfield)</title>
      <link>https://community.qlik.com/t5/App-Development/Separating-A-String-And-Filling-In-Value-Between-A-Range/m-p/1856244#M70670</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have created a sample data and script. Please check if that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table:&lt;BR /&gt;Load Range,SubField(Range,'-',1) as From, SubField(Range,'-',2) as To Inline [&lt;BR /&gt;Range&lt;BR /&gt;30-50&lt;BR /&gt;60-70&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;/P&gt;
&lt;P&gt;Load&lt;BR /&gt;Range,&lt;BR /&gt;From + IterNo() - 1 as RangeIteration&lt;BR /&gt;Resident Table&lt;BR /&gt;While IterNo() &amp;lt;= To - From + 1 ;&lt;BR /&gt;DROP Table Table; &lt;BR /&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshutoshBhumkar_0-1636171635421.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66082iEFA72BAA2CE977A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshutoshBhumkar_0-1636171635421.png" alt="AshutoshBhumkar_0-1636171635421.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshutoshBhumkar_1-1636171678629.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66083iA4E4A9F357F67A6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshutoshBhumkar_1-1636171678629.png" alt="AshutoshBhumkar_1-1636171678629.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 04:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Separating-A-String-And-Filling-In-Value-Between-A-Range/m-p/1856244#M70670</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-11-06T04:08:41Z</dc:date>
    </item>
  </channel>
</rss>

