<?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: use of hash() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385736#M805773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually hash() always returns the same output for the same input. It does not depend on your data in app and their order as it is in case of autonumber(). So you should use autonumber() only in one final app. If you need to generate the same key across applications (for example multi-layer generators) you should use hash(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2018 10:38:46 GMT</pubDate>
    <dc:creator>JaMajka1</dc:creator>
    <dc:date>2018-06-11T10:38:46Z</dc:date>
    <item>
      <title>use of hash() function</title>
      <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385732#M805769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know hash() function can be used to make fields of variable length to fixed length but when is the situation to use it ?&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/use-of-hash-function/m-p/1385732#M805769</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: use of hash() function</title>
      <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385733#M805770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the same situations than AutoNumber(), when you want to uniquely identify the same string across the application but using a fixed length string instead of a variable one (i.e.: street names or full names).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when you have a composite key (i.e. concatenating several values from different fields) you have created using several fields to uniquely identify a row in the data model by a smaller/fixed length value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never saw the case to use the Hash*() functions, but always the AutoNumber() function instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 14:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385733#M805770</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-10-31T14:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: use of hash() function</title>
      <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385734#M805771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then as of my understanding, autonumber() and hash () function are the same in giving unique values but autonumber() return integer whereas hash() returns string.. Is this right ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 07:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385734#M805771</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2017-11-01T07:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: use of hash() function</title>
      <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385735#M805772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;AutoNumber()&lt;/STRONG&gt; function just generates a sequential, integer number for each possible distinct value in the parameter, based on such value. &lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Hash*()&lt;/STRONG&gt; functions do calculate a &lt;A href="https://www.cs.cmu.edu/~adamchik/15-121/lectures/Hashing/hashing.html"&gt;hash&lt;/A&gt;, and return that hash as a literal (string).&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;AutoNumberHash*()&lt;/STRONG&gt; functions do both: first calculate the hash, then take that hash as a parameter and return an integer, sequential number based on it.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 07:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385735#M805772</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-11-01T07:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: use of hash() function</title>
      <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385736#M805773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually hash() always returns the same output for the same input. It does not depend on your data in app and their order as it is in case of autonumber(). So you should use autonumber() only in one final app. If you need to generate the same key across applications (for example multi-layer generators) you should use hash(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 10:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385736#M805773</guid>
      <dc:creator>JaMajka1</dc:creator>
      <dc:date>2018-06-11T10:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: use of hash() function</title>
      <link>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385737#M805774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay great! thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 05:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/use-of-hash-function/m-p/1385737#M805774</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2018-06-28T05:19:15Z</dc:date>
    </item>
  </channel>
</rss>

