<?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: How to create an index into a load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269856#M849455</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 can use the hash128() function to create a nice quick key for Qlikview to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So just do hash128(field1,field2,field3)&amp;nbsp; using the fields which make your rows unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 14:48:57 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2017-03-10T14:48:57Z</dc:date>
    <item>
      <title>How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269855#M849454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table with records on purchase order lines; these data contains the purchase order lines transactions history.&lt;/P&gt;&lt;P&gt;I have no unique key and wish to create an index which I will use to join data from other tables.&lt;/P&gt;&lt;P&gt;Many thanks in advance for any help.&lt;/P&gt;&lt;P&gt;Best regards &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/How-to-create-an-index-into-a-load-script/m-p/1269855#M849454</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269856#M849455</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 can use the hash128() function to create a nice quick key for Qlikview to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So just do hash128(field1,field2,field3)&amp;nbsp; using the fields which make your rows unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 14:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269856#M849455</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-10T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269857#M849456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;You can use Autonumber() function on your fields to create a key field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Look here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4748"&gt;Autonumber function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 14:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269857#M849456</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-10T14:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269858#M849457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Autonumber will &lt;STRONG&gt;NOT&lt;/STRONG&gt; create the same number on another table given the same input.&lt;/P&gt;&lt;P&gt;Hash is required to ensure the link between tables will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ for perfectly wording this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.6364px;"&gt;&lt;EM&gt;Hash functions are deterministic, that is, given the same input, they will always produced the same output. AutoNumber() is non-deterministic.Output values are dependent on the load order of input. For that reason, Autonumbering of keys should only be done in the final qvw. Autonumbered keys should not be stored in QVDs or intermediate qvws.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.6364px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.6364px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.6364px;"&gt;&lt;EM&gt;*edit*&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.6364px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Yes I am slightly mistaken I think (thank you for this as I have used it to clarify my understanding), if using the autonumber() function more than once within the same script then you're OK, but ONLY if it is all in the same run.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I've always used hash128() out of habit as 90% of what I do is using QVDs&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.44px;"&gt;&lt;EM&gt;All 3 of the autonumber functions have one pitfall, the lookup table(s) exist only whilst the current script execution is active. After the script completes, the lookup table is destroyed and so the same expression value may be assigned different integer values in different script executions. This means that the autonumber functions can't be used for key fields within incremental loads&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.44px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.44px;"&gt;&lt;EM&gt;&lt;A href="http://www.qlikviewaddict.com/2014/01/qlikview-functions-autonumber.html" title="http://www.qlikviewaddict.com/2014/01/qlikview-functions-autonumber.html"&gt;QlikView Addict: QlikView Functions: autonumber()&lt;/A&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 14:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269858#M849457</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-10T14:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269859#M849458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. Thanks for that. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269859#M849458</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-10T15:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269860#M849460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may be mistaken, but that's what I have always understood!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269860#M849460</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-10T15:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269861#M849464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hello Adam and Vishwarath,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thank you to both I will test both methods but think that to aggregate data which contain PO number, PO line number and PO SubLine number (data I can concatenate), I will use Hash function.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269861#M849464</guid>
      <dc:creator />
      <dc:date>2017-03-10T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269862#M849467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I completely forgot about reading what Rob mentioned. However, just wondering cant we use AutonumberHash128() to get the unique integer for distinct value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269862#M849467</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-10T15:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269863#M849468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I am slightly mistaken I think (thank you for this as I have used it to clarify my understanding), if using the autonumber() function more than once within the same script then you're OK, but ONLY if it is all in the same run.&lt;/P&gt;&lt;P&gt;I've always use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.44px;"&gt;&lt;EM&gt;All 3 of the autonumber functions have one pitfall, the lookup table(s) exist only whilst the current script execution is active. After the script completes, the lookup table is destroyed and so the same expression value may be assigned different integer values in different script executions. This means that the autonumber functions can't be used for key fields within incremental loads&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.44px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.44px;"&gt;&lt;EM&gt;&lt;A href="http://www.qlikviewaddict.com/2014/01/qlikview-functions-autonumber.html" title="http://www.qlikviewaddict.com/2014/01/qlikview-functions-autonumber.html"&gt;QlikView Addict: QlikView Functions: autonumber()&lt;/A&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269863#M849468</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-10T15:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269864#M849469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see what I have just posted &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;Personally autonumberhash is pointless as it has the same limitations as autonumber, either use autonumber (no qvd's, no partial reloads etc) or hash128()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269864#M849469</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-10T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an index into a load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269865#M849470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just read it. Got it now. Thanks for sharing this info. And thanks for asking Idriss. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 15:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-an-index-into-a-load-script/m-p/1269865#M849470</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-10T15:18:49Z</dc:date>
    </item>
  </channel>
</rss>

