<?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 autonumber in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788405#M278803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; evryone what is autonumber ?can anyone explain with example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 12:46:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-20T12:46:04Z</dc:date>
    <item>
      <title>autonumber</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788405#M278803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; evryone what is autonumber ?can anyone explain with example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 12:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber/m-p/788405#M278803</guid>
      <dc:creator />
      <dc:date>2014-11-20T12:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788406#M278804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its just to create a unique number&lt;/P&gt;&lt;P&gt;From Help Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor441"&gt;&lt;/A&gt;&lt;A name="autonumber"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG&gt;autonumber(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;expression[ , AutoID]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Returns a unique integer value for each distinct evaluated value of &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; encountered during the script execution. This function can be used e.g. for creating a compact memory representation of a complex key. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In order to create multiple counter instances if the &lt;SPAN class="Bold"&gt;autonumber&lt;/SPAN&gt; function is used on different keys within the script, an optional parameter &lt;SPAN class="Italic"&gt;AutoID&lt;/SPAN&gt; can be used for naming each counter. &lt;/STRONG&gt;&lt;/P&gt;&lt;P class="example"&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;autonumber( Region&amp;amp;Year&amp;amp;Month )&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="Code"&gt;&lt;STRONG&gt;autonumber( Region&amp;amp;Year&amp;amp;Month, 'Ctr1' )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 12:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber/m-p/788406#M278804</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-11-20T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788407#M278805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Autonumber will create a number for each unique value of a column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 12:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber/m-p/788407#M278805</guid>
      <dc:creator />
      <dc:date>2014-11-20T12:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788408#M278806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are aware of row_number() over(), Autonumber performs the same functionality&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input&lt;/P&gt;&lt;P&gt;ID,ChildID&lt;/P&gt;&lt;P&gt;S1,C2&lt;/P&gt;&lt;P&gt;S1,C1&lt;/P&gt;&lt;P&gt;S1,C4&lt;/P&gt;&lt;P&gt;S1,C3&lt;/P&gt;&lt;P&gt;S2,C2&lt;/P&gt;&lt;P&gt;S2,C5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select ID,ChildID, row_number() over(partition by ID order by ChildID) from Table&lt;/P&gt;&lt;P&gt;ID,Cktid, SequenceID&lt;/P&gt;&lt;P&gt;S1,C1,1&lt;/P&gt;&lt;P&gt;S1,C2,2&lt;/P&gt;&lt;P&gt;S1,C3,3&lt;/P&gt;&lt;P&gt;S1,C4,4&lt;/P&gt;&lt;P&gt;S2,C2,1&lt;/P&gt;&lt;P&gt;S2,C5,2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;ID,ChildID&lt;/P&gt;&lt;P&gt;S1,C2&lt;/P&gt;&lt;P&gt;S1,C1&lt;/P&gt;&lt;P&gt;S1,C4&lt;/P&gt;&lt;P&gt;S1,C3&lt;/P&gt;&lt;P&gt;S2,C2&lt;/P&gt;&lt;P&gt;S2,C5&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;Load AutoNumber(ChildID, ID) as Sequence,* Resident source&lt;/P&gt;&lt;P&gt;order by ID, ChildID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autonumber(expression[ , AutoID]) &lt;/P&gt;&lt;P&gt;Returns a unique integer value for each distinct evaluated value of expression encountered during the script execution. This function can be used e.g. for creating a compact memory representation of a complex key. &lt;/P&gt;&lt;P&gt;In order to create multiple counter instances if the autonumber function is used on different keys within the script, an optional parameter AutoID can be used for naming each counter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 12:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber/m-p/788408#M278806</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-20T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788409#M278807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 17:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber/m-p/788409#M278807</guid>
      <dc:creator />
      <dc:date>2014-11-26T17:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: autonumber</title>
      <link>https://community.qlik.com/t5/QlikView/autonumber/m-p/788410#M278808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11pt;"&gt;Hi Praveen,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-size: 11.0pt; font-family: 'Times New Roman','serif';"&gt;AutoNumber stores the expression value and gives it a unique integer value&lt;SPAN class="apple-converted-space"&gt;. &lt;/SPAN&gt;This function can be used e.g. for creating a compact memory representation of a complex key.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-size: 11.0pt; font-family: 'Times New Roman','serif';"&gt;Syntax:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #3d3d3d; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d; background: white;"&gt;AutoNumber&lt;/SPAN&gt;&lt;SPAN class="apple-converted-space"&gt; (expression [, AutoID])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-size: 11.0pt; font-family: 'Times New Roman','serif';"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #3d3d3d; background: white;"&gt;&lt;SPAN style="font-size: 11.0pt; color: #3d3d3d; background: white;"&gt;LOAD AutoNumber &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d; background: white;"&gt;(Product &amp;amp; Region, 'Key') &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; color: #3d3d3d; background: white;"&gt;AS KEY_FIELD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Helvetica','sans-serif';"&gt;If you have two are more common fields&lt;SPAN class="apple-converted-space"&gt; between tables,&lt;/SPAN&gt;which are&amp;nbsp; not avoidable .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Helvetica','sans-serif';"&gt;Then you need to create composite keys between tables, i.e. keys that are concatenations of several other keys. These composite keys are 50 characters long or more and take up a good amount of memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Helvetica','sans-serif';"&gt;So, if you want to save some memory space. The Autonumber() function is used on the composite keys. It replaces long strings with a short number while maintaining all information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Helvetica','sans-serif';"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Helvetica','sans-serif';"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 11.0pt; font-family: 'Helvetica','sans-serif';"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-family: 'Times New Roman','serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 18:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/autonumber/m-p/788410#M278808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-26T18:16:09Z</dc:date>
    </item>
  </channel>
</rss>

