<?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: Numeric  keys instead of alphanumeric - always preferable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804528#M663832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just bought this book in one of packtpub's promotions and I'm just starting to read it on my eReader. Unfortunately I have very little time to ever read anything, but it surly is a very good book and I enjoy learning that kind of things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you're right - as long as there are no issues and no one complains about apps being too big, I won't mess around with them.&lt;/P&gt;&lt;P&gt;In cases like that I do need the alphanumeric field both as key (it cannot be split, either, or it wouldn't uniquely identify a record) and on the GUI - because the item_nr. is something that is always needed - not for the overview, but the whole point is the middle_managers being able to retrace anything out-of-the-ordinary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Feb 2015 14:27:04 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2015-02-15T14:27:04Z</dc:date>
    <item>
      <title>Numeric  keys instead of alphanumeric - always preferable?</title>
      <link>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804524#M663828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from several blog_posts I've read from HIC and others and from the literature I know that numeric keys are generally preferable to alphanumeric keys to link tables because QlikView is much better at storing numeric characters in a small memory space.&lt;/P&gt;&lt;P&gt;However, I have been wondering about one thing.&lt;/P&gt;&lt;P&gt;It may be that the answer to this is somewhere among the XX answers and comments to the blog_posts, so I might have overlooked it. Forgive me in that case for repeating the question here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I have two tables which I can only link using an Item_ID, which contains alphanumeric characters.&lt;/P&gt;&lt;P&gt;=&amp;gt; So it would generally be a good idea to replace that using the AutoNumber() function and have a numeric key instead.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; But what if I still need the original alphanumeric field to be displayed? So I would still be carrying that alphanumeric key around, even if I renamed it to avoid linking the two tables by that ... (that is the case, I think, in most apps we have that are using this kind of alphanumeric fields)&lt;/P&gt;&lt;P&gt;=&amp;gt; Would it still help to reduce my app's memory_profile to "repeat´" that field using the AutoNumber() function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804524#M663828</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-13T15:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric  keys instead of alphanumeric - always preferable?</title>
      <link>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804525#M663829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler&lt;/P&gt;&lt;P&gt;the only reason I can see that you would keep a key like that is because you show it in the front end. But why would that key be useful to any user using your application? A key does not (or should not) mean anything to business users.&lt;/P&gt;&lt;P&gt;Anyway, I would link the tables using autonumber and keep the alphanumeric key only once.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804525#M663829</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2015-02-13T15:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric  keys instead of alphanumeric - always preferable?</title>
      <link>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804526#M663830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlik stores data in a very efficient way so do not care about memory, above all if you are speaking of a key field, I agree that numeric keys are better but this is a generic rule, in your case I should use original alphanumeric format because you can sort, link and group in the same way of a numeric field. If you should have ID and Name for example it should be better to transform in a numerical representation (Autonumber or autonumberhash)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804526#M663830</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-02-13T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric  keys instead of alphanumeric - always preferable?</title>
      <link>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804527#M663831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you no really a performance problem you shouldn't try anything. If an improvement of performance necessary you will need some efforts to try this and that and check with the mem-files the calculation times and the table/field-memory then it will depend on various things if you could create significant improvements with manageable efforts or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could use autonumber-fields as keys and don't need the alpha-numeric values you should use them (because key = pointer). If you need these alpha-numeric values you could try to split these field into several fields to reduce the number of unique values and/or you could find some logic to replace the strings with numbers within this field and if you used it within the gui you made this replace backwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good starting point is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: tahoma,arial,helvetica,sans-serif;"&gt;Mastering QlikView&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma;"&gt;Stephen Redmond&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Tahoma;"&gt;ISBN-13: 978-1782173298&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 16:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804527#M663831</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-13T16:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric  keys instead of alphanumeric - always preferable?</title>
      <link>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804528#M663832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just bought this book in one of packtpub's promotions and I'm just starting to read it on my eReader. Unfortunately I have very little time to ever read anything, but it surly is a very good book and I enjoy learning that kind of things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you're right - as long as there are no issues and no one complains about apps being too big, I won't mess around with them.&lt;/P&gt;&lt;P&gt;In cases like that I do need the alphanumeric field both as key (it cannot be split, either, or it wouldn't uniquely identify a record) and on the GUI - because the item_nr. is something that is always needed - not for the overview, but the whole point is the middle_managers being able to retrace anything out-of-the-ordinary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 14:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Numeric-keys-instead-of-alphanumeric-always-preferable/m-p/804528#M663832</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-02-15T14:27:04Z</dc:date>
    </item>
  </channel>
</rss>

