<?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 for linking column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AutoNumber-for-linking-column/m-p/775191#M1038184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the meaning of the below code in script? What it will do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14192754260244772" jivemacro_uid="_14192754260244772"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD AutoNumber(Item_Desc &amp;amp; Sub_Item_Desc) as %LinkItemDesc,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2014 19:10:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-22T19:10:59Z</dc:date>
    <item>
      <title>AutoNumber for linking column</title>
      <link>https://community.qlik.com/t5/QlikView/AutoNumber-for-linking-column/m-p/775191#M1038184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the meaning of the below code in script? What it will do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14192754260244772" jivemacro_uid="_14192754260244772"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD AutoNumber(Item_Desc &amp;amp; Sub_Item_Desc) as %LinkItemDesc,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 19:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AutoNumber-for-linking-column/m-p/775191#M1038184</guid>
      <dc:creator />
      <dc:date>2014-12-22T19:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: AutoNumber for linking column</title>
      <link>https://community.qlik.com/t5/QlikView/AutoNumber-for-linking-column/m-p/775192#M1038186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;AutoNumber () generates sequential integers, AutoNumber&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt; stores the expression value and gives it a unique integer value. This function can be used e.g. for creating a compact memory representation of a complex key.&lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;The Autonumber() function is used on the composite keys, It replaces long strings with a short number while maintaining all information. &lt;SPAN style="background: white;"&gt;Which is a very storage efficient data for Qlikview.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;If you have two are more common fields between tables, which are Unavoidable. Then you need to create composite keys between tables, i.e. keys that are concatenations of several other keys. &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;AutoID –&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;When autonumbering different key fields in the same script, you should use the AutoId parameter. This ensures that each field will have sequential numbers with no gaps&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: Times New Roman;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt; Its &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;Normally we use the fieldname as AutoId.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;Syntax:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0pt;"&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;AutoNumber (expression [, AutoID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0pt;"&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;LOAD AutoNumber &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;(Product &amp;amp; Region, 'Key') &lt;/SPAN&gt;&lt;SPAN style="background: white; color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;AS KEY_FIELD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Helvetica;"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 19:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AutoNumber-for-linking-column/m-p/775192#M1038186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T19:37:53Z</dc:date>
    </item>
  </channel>
</rss>

