<?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: when we use Autonumber function in qlikview? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723597#M1076744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;autonumber simply transforms a string value as number&lt;/P&gt;&lt;P&gt;but be aware of this fact&lt;/P&gt;&lt;P&gt;suppose autonumber('abc') is 500 and you saved this info as QVD&lt;/P&gt;&lt;P&gt;then on an another reload autonumber('abc') may not be 500 while the value that you saved was 500&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2014 08:17:51 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2014-07-22T08:17:51Z</dc:date>
    <item>
      <title>when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723593#M1076740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Anyone please tell me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Devi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 07:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723593#M1076740</guid>
      <dc:creator />
      <dc:date>2014-07-22T07:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723594#M1076741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When there is need for Unique numbers in the table or data model See the example from the help&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;autonumber(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expression[ , AutoID]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&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;/P&gt;&lt;P&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;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;autonumber( Region&amp;amp;Year&amp;amp;Month )&lt;/P&gt;&lt;P class="Code"&gt;autonumber( Region&amp;amp;Year&amp;amp;Month, 'Ctr1' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:03:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723594#M1076741</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-22T08:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723595#M1076742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Autonumber is used in many case &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one of the most important use is ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like u have 2 column as string or number and by concatenating&amp;nbsp; two column you are making primarykey&lt;/P&gt;&lt;P&gt;string as a primary key will degrade the performance of your application, so in that case we use autonumber to generate primary key.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723595#M1076742</guid>
      <dc:creator />
      <dc:date>2014-07-22T08:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723596#M1076743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Devi,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;While creating a datamodel, often you need to create composite keys between tables, i.e. keys that are concatenations of several other keys. These composite keys are often 50-100 characters long (or more) and take up a fair amount of memory. But they are usually not displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So, if you want to save some memory space, you should use the Autonumber() function on the composite keys. It replaces long strings with a short number while maintaining all information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723596#M1076743</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2014-07-22T08:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723597#M1076744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;autonumber simply transforms a string value as number&lt;/P&gt;&lt;P&gt;but be aware of this fact&lt;/P&gt;&lt;P&gt;suppose autonumber('abc') is 500 and you saved this info as QVD&lt;/P&gt;&lt;P&gt;then on an another reload autonumber('abc') may not be 500 while the value that you saved was 500&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723597#M1076744</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-07-22T08:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723598#M1076745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to concatenate a separator between the fields such as "|"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine the scenario:&lt;/P&gt;&lt;P&gt;Record1 = FieldA=100 and FieldB=10&lt;/P&gt;&lt;P&gt;Record2 = FieldA=10 and FieldB=010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using only Autonumber:&lt;/P&gt;&lt;P&gt;Autonumber(Record1) = Autonumber(10010) = x&lt;/P&gt;&lt;P&gt;Autonumber(Record2) = Autonumber(10010) = x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Autonumber with separato:&lt;/P&gt;&lt;P&gt;Autonumber(Record1) = Autonumber(100|10) = z&lt;/P&gt;&lt;P&gt;Autonumber(Record2) = Autonumber(10|010) = y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be difficult to happen but... It's better to prevent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 10:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723598#M1076745</guid>
      <dc:creator />
      <dc:date>2014-11-14T10:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: when we use Autonumber function in qlikview?</title>
      <link>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723599#M1076746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just beware that the Autonumber() function creates an internal table during the script load, and these tables are dropped after the load.&lt;/P&gt;&lt;P&gt;For this reason, while performing partial reload, the Autonumber() function will not consider the already loaded values when building the internal table, and will ultimately generate duplicates in your model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 16:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/when-we-use-Autonumber-function-in-qlikview/m-p/723599#M1076746</guid>
      <dc:creator />
      <dc:date>2015-01-22T16:40:54Z</dc:date>
    </item>
  </channel>
</rss>

