<?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 in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799383#M1211534</link>
    <description>&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;so as I understand I cannot use AutonumberHash if the data gets reloaded in 2 separate reloads. What I've seen from Help files is that I should use Hash128 etc, but that returns fields that are very long...&lt;/P&gt;&lt;P&gt;What do you do guys generally do to get a persistent value across loads?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 11:36:37 GMT</pubDate>
    <dc:creator>QFanatic</dc:creator>
    <dc:date>2021-04-14T11:36:37Z</dc:date>
    <item>
      <title>Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799383#M1211534</link>
      <description>&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;so as I understand I cannot use AutonumberHash if the data gets reloaded in 2 separate reloads. What I've seen from Help files is that I should use Hash128 etc, but that returns fields that are very long...&lt;/P&gt;&lt;P&gt;What do you do guys generally do to get a persistent value across loads?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 11:36:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799383#M1211534</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-14T11:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799437#M1211539</link>
      <description>&lt;P&gt;What's the aim for it? Why not just keeping the origin values - especially if they should be used within several applications?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 13:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799437#M1211539</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-14T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799639#M1211557</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key fields may potentially be made of of huge values - like '155.98.1237.263.178.32'. I though using autonumberhash might make things better if I could give a numeric value, say 9 for my example, instead of Qlik having to evaluate that terrible long value.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 06:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799639#M1211557</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-15T06:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799642#M1211559</link>
      <description>&lt;P&gt;so you have to load the datas in the same script, create an autonumberfield and store them into qvd. Then you can load the datas into your apps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 06:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799642#M1211559</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2021-04-15T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799647#M1211560</link>
      <description>Hi Martin thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;My challenge comes that I create qvds in one load and comaume them in&lt;BR /&gt;another where I load a table from the dB as well based on the key values&lt;BR /&gt;from the qvds...&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2021 07:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799647#M1211560</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-15T07:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799655#M1211561</link>
      <description>&lt;P&gt;So the topic is not to use this (autonumber) key across multiple applications else you want to keep the qvd's smaller? How many records and distinct field-values are there? Does all field-values look like your example or are there more differences in length, numeric vs. alpha-numeric or strings, blanks, NULL's? Are any logics included?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 08:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799655#M1211561</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-15T08:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799681#M1211565</link>
      <description>&lt;P&gt;Hi Marcus&lt;/P&gt;&lt;P&gt;I want to be able to reduce the size of the QVD's essentially by using Autonumber on those long key fields. Also make linking between tables that both contain these values, quicker.&lt;/P&gt;&lt;P&gt;The field values will always look like the example I gave (&lt;SPAN&gt;'155.98.1237.263.178.32'&lt;/SPAN&gt;) but will be different for every single key value of the Table - and we're talking billions of rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:04:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799681#M1211565</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-15T09:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799683#M1211567</link>
      <description>&lt;P&gt;Your dataset seems quite large. More important as the number of records is the number of distinct field-values. Means if there are just a few thousands distinct values by billions of rows your intended optimization won't be really significantly. But if there are quite many distinct values it would be different (just keep in mind that you could have max. 2 billions of distinct field-values within a single field).&lt;/P&gt;&lt;P&gt;I think I would in your case investigate if there is any logic within the values included so that you may capable to left the first or last numbers and/or replace/change other parts. If this isn't possible I would split the value into two pure numeric fields. In the target-application you could string-concat both parts within an autonumber() to get a valid key and to keep the RAM as small as possible.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799683#M1211567</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-15T09:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799686#M1211568</link>
      <description>&lt;P&gt;Thank you Marcus, your advice has been great.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799686#M1211568</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-15T09:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799688#M1211569</link>
      <description>&lt;P&gt;just to be sure I understand you correctly, if the number of distinct values where more, the Autonumber would have a significant influence?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799688#M1211569</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-15T09:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799694#M1211571</link>
      <description>&lt;P&gt;By an autonumber the field-value = pointer-value and therefore the field-value don't need to be stored and the pointer is a bit-stuffed numeric value. Compared with a large string-value it's much smaller.&lt;/P&gt;&lt;P&gt;But it depends on the ratio of the number of distinct values against the number of records and also the number of fields within the table how significantly this optimization is. As far as you don't hit any bottleneck within your environment such measures need to be balanced against the efforts. If you save at least 10% of the file-size you may implement such logic and if it's just a few percent you could put it on the todo-list for later - usually never done ...&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 09:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799694#M1211571</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-15T09:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799745#M1211580</link>
      <description>Thank you.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2021 13:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799745#M1211580</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-15T13:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799970#M1211589</link>
      <description>&lt;P&gt;Just one addition. Because on the fact that you don't need the real values of this field else just an autonumber from it as a key you may consider to drop the key also by changing your datamodel, for example by:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;mapping/joining the information from the linked dimension-table&lt;/LI&gt;&lt;LI&gt;concatenating the information if multiple fact-tables are associated&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The aim should be to develop the datamodel to get a star-scheme or even one (big) single table because these approaches have performance-benefits within the UI which are usually much more important as advantages in regard to the storages-space or the script run-times. Quite common but especially by large datasets the worst is the use of link-table datamodels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 06:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1799970#M1211589</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-04-16T06:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Autonumber in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1800014#M1211591</link>
      <description>Great info thank you Marcus&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Apr 2021 09:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Autonumber-in-Script/m-p/1800014#M1211591</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2021-04-16T09:23:20Z</dc:date>
    </item>
  </channel>
</rss>

