<?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: AutoNumber or AutoID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AutoNumber-or-AutoID/m-p/75033#M607754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, Left(ID,1) &amp;amp; Autonumber(ID, Left(ID,1)) as newID&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;D123456&lt;/P&gt;&lt;P&gt;D123457&lt;/P&gt;&lt;P&gt;D123458&lt;/P&gt;&lt;P&gt;C123456&lt;/P&gt;&lt;P&gt;C123457&lt;/P&gt;&lt;P&gt;C123459&lt;/P&gt;&lt;P&gt;N123456&lt;/P&gt;&lt;P&gt;N123457&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to sort your input table if you need your newID appropriately increasing with old ID number value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2018 21:54:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2018-02-22T21:54:43Z</dc:date>
    <item>
      <title>AutoNumber or AutoID</title>
      <link>https://community.qlik.com/t5/QlikView/AutoNumber-or-AutoID/m-p/75032#M607752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my current script I have a field that contains data with a leading alpha character followed by six digit number. I have been tasked to create a new ID by using the leading alpha character and then generating a sequential set of ID numbers.. For example I have the numbers D123456, D123457, D123458 and so on. I want to isolate all the ID numbers with a D and recreate an ID number keeping the leading alpha character. Basically, I would like to use AutoNumber or AutoID to create a whole new number with the leading letter. The same would apply for the other ID numbers in this field. ex. C123456, C123457, C123459, N123456, N123457. I would like to repeat this for every type of ID number. Would appreciate if anyone could provide some insight on how I could possibly generate these ID's. Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AutoNumber-or-AutoID/m-p/75032#M607752</guid>
      <dc:creator>ecrobles18</dc:creator>
      <dc:date>2018-02-22T21:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: AutoNumber or AutoID</title>
      <link>https://community.qlik.com/t5/QlikView/AutoNumber-or-AutoID/m-p/75033#M607754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, Left(ID,1) &amp;amp; Autonumber(ID, Left(ID,1)) as newID&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;D123456&lt;/P&gt;&lt;P&gt;D123457&lt;/P&gt;&lt;P&gt;D123458&lt;/P&gt;&lt;P&gt;C123456&lt;/P&gt;&lt;P&gt;C123457&lt;/P&gt;&lt;P&gt;C123459&lt;/P&gt;&lt;P&gt;N123456&lt;/P&gt;&lt;P&gt;N123457&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to sort your input table if you need your newID appropriately increasing with old ID number value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AutoNumber-or-AutoID/m-p/75033#M607754</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2018-02-22T21:54:43Z</dc:date>
    </item>
  </channel>
</rss>

