<?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() question. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518598#M193666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your replies &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Trond Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Oct 2013 09:02:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-10T09:02:36Z</dc:date>
    <item>
      <title>Autonumber() question.</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518595#M193663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my source dataset I have a field called Vendor_invoice_number. It contains both numbers and text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my fact table I want to create a key field and then link to a dimension table for all invoice details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use autonumber like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my fact table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autonumber(Vendor_Invoice_Number, '%VendorInvoiceNumber') as %VendorInvoiceNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then later in script when i load my dimension the same statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autonumber(Vendor_Invoice_Number, '%VendorInvoiceNumber') as %VendorInvoiceNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will I get a key match at the right place?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is the case, asking to be sure &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Trond E&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 08:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518595#M193663</guid>
      <dc:creator />
      <dc:date>2013-10-07T08:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber() question.</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518596#M193664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;SPAN class="Bold"&gt;autonumberhash128()&lt;/SPAN&gt; function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 08:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518596#M193664</guid>
      <dc:creator />
      <dc:date>2013-10-07T08:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber() question.</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518597#M193665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. Autonumber() looks to see if that value has been defined and if it has, uses the number. If the value has not been defined yet, then it increments the number adds the new value to the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This number starts from 1 when the load begins, so it is not well suited to incremental loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 08:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518597#M193665</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-10-07T08:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber() question.</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518598#M193666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your replies &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Trond Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2013 09:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-question/m-p/518598#M193666</guid>
      <dc:creator />
      <dc:date>2013-10-10T09:02:36Z</dc:date>
    </item>
  </channel>
</rss>

