<?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: need help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165615#M914671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the second argument to the Autonumber() function, you can also create indices from distinct autonumber "buckets", e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(OrderID, Customer) as OrderIndexCustomer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;RESIDENT INPUT&lt;/P&gt;&lt;P&gt;ORDER BY OrderDate asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will create an index on orders for each customer separately (order by was used to order the index same way as the order dates). You can create the index also using a table sorted by Date and Customer, and using Rangesum() and Peek(), this is just another use case I make use of the Autonumber() from time to time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 May 2016 16:34:41 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-05-29T16:34:41Z</dc:date>
    <item>
      <title>need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165606#M914662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a clarification on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;temp1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; key, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nam, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doj,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(name&amp;amp;'|'&amp;amp;doj) as samplenum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; age,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;lt;path&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes,It showing unique numbers for each unique combination of field values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is the use of this and where to use particularly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions??&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/need-help/m-p/1165606#M914662</guid>
      <dc:creator>satishqlik</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165607#M914663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The combination you have used is technically known as a composite key, even there is no Auto number function on top it it does work as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;name&amp;amp;'|'&amp;amp;doj&lt;/STRONG&gt; as &lt;STRONG&gt;samplenum.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is generally used to avoid synthetic keys , for eg another table also contains the same combination if you don't use a composite key with or with out auto Number it will result&amp;nbsp; a synthetic key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 14:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165607#M914663</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-05-29T14:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165608#M914664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming you &lt;EM&gt;name&lt;/EM&gt; and &lt;EM&gt;doj&lt;/EM&gt; fields are long text fields then this will turn them into a small numeric field which consume less memory.&amp;nbsp; Plus if it is used to join 2 tables together this small numeric key field will be far more efficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 14:52:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165608#M914664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-29T14:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165609#M914665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A benefit from using the Autonumber() is that it does not need to store the composite key values in the symbol table, hence it saves you some memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 14:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165609#M914665</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-29T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165610#M914666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more point is , auto number is used to speed up the association because autonumber results a unique &lt;STRONG&gt;number&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 14:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165610#M914666</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-05-29T14:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165611#M914667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that the autonumber will speed up associations or be more efficient in the table records (where the bit stuffed pointers should be the same, regardless if you are using Autonumber() or not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only benefit should result from less memory occupied in the symbol tables (no space required for an autonumber value).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 15:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165611#M914667</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-29T15:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165612#M914668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the symbol table with all composite key strings (or, as Rob thinks, hashes) will be there, but it will only last as long as the script runs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 16:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165612#M914668</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-29T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165613#M914669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;True, there need to be bookkeeping of autonumber values during script run, as far as I read the previous comments, we were discussing performance increase w.r.t. joins and linking of tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that using Autonumber() will do anything different / better than just using the composite keys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 16:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165613#M914669</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-29T16:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165614#M914670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"...&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and where to use particularly?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Never&lt;/EM&gt; use autonumber() to generate values that travel outside of the current data model (e.g. for storing in a QVD). Because there is no symbol table that survives the current load script run, an autonumber() call on the same key fields in another load script may generate a similar set of values that are linked to entirely different composite key strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 16:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165614#M914670</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-29T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: need help</title>
      <link>https://community.qlik.com/t5/QlikView/need-help/m-p/1165615#M914671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the second argument to the Autonumber() function, you can also create indices from distinct autonumber "buckets", e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(OrderID, Customer) as OrderIndexCustomer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;RESIDENT INPUT&lt;/P&gt;&lt;P&gt;ORDER BY OrderDate asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will create an index on orders for each customer separately (order by was used to order the index same way as the order dates). You can create the index also using a table sorted by Date and Customer, and using Rangesum() and Peek(), this is just another use case I make use of the Autonumber() from time to time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 16:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-help/m-p/1165615#M914671</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-29T16:34:41Z</dc:date>
    </item>
  </channel>
</rss>

