<?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: Filling a sequence - using 1st and last entry in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171361#M912430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;TSTAMP,&lt;/P&gt;&lt;P&gt;DESTINATION,&lt;/P&gt;&lt;P&gt;SERIALNO,&lt;/P&gt;&lt;P&gt;LASTINRANGE,&lt;/P&gt;&lt;P&gt;SERIALNO+iterno()-1 as FILLED_SERIAL&lt;/P&gt;&lt;P&gt;FROM table&lt;/P&gt;&lt;P&gt;while SERIALNO+iterno()-1 &amp;lt;= LASTINRANGE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : There will be a performance impact if the Data is huge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 17:01:16 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-05-30T17:01:16Z</dc:date>
    <item>
      <title>Filling a sequence - using 1st and last entry</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171359#M912428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikheads,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to recon 3 years worth of sales. I have already imported all sales by serial number into a qlikview document, but now I need to see where each serial number was shipped to. The shipments file I have received has the first and last serial number of each shipment, but not the middle values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is in an excel file and looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 373px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="95"&gt;TSTAMP&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="92"&gt;DESTINATION&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="92"&gt;SERIALNO&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="94"&gt;LASTINRANGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;Sep/13&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;9372&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;910002071588&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;910002271587&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;Sep/13&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;7629&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;920001711543&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;920001711562&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;Oct/13&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;5591&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;960000062807&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;960000072806&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;Oct/13&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;7890&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;900000967163&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;900001087162&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need to do is match the serial number to the correct shipment so that I can return the destination for each serial number.&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171359#M912428</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filling a sequence - using 1st and last entry</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171360#M912429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please put a sample of your current data and your desired data so that we can provide a solution? With your given input in the question I can't develop a solution for you. Can you please explain better your issue with screenshots, photos form designs in paper, word documents, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 16:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171360#M912429</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-05-30T16:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filling a sequence - using 1st and last entry</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171361#M912430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;TSTAMP,&lt;/P&gt;&lt;P&gt;DESTINATION,&lt;/P&gt;&lt;P&gt;SERIALNO,&lt;/P&gt;&lt;P&gt;LASTINRANGE,&lt;/P&gt;&lt;P&gt;SERIALNO+iterno()-1 as FILLED_SERIAL&lt;/P&gt;&lt;P&gt;FROM table&lt;/P&gt;&lt;P&gt;while SERIALNO+iterno()-1 &amp;lt;= LASTINRANGE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : There will be a performance impact if the Data is huge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 17:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171361#M912430</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-05-30T17:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filling a sequence - using 1st and last entry</title>
      <link>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171362#M912431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not have a pattern in creating the serial no you will not be able to create the numbers.&amp;nbsp; if you do have a pattern having the first and last digit please explain how this pattern can be developed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 17:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filling-a-sequence-using-1st-and-last-entry/m-p/1171362#M912431</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2016-05-30T17:24:25Z</dc:date>
    </item>
  </channel>
</rss>

