<?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 hash128() without knowing the number of fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258411#M851079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to apply hash128() function on loaded records but I don't really know the name of the loaded fields neither their number .&lt;/P&gt;&lt;P&gt;Besides , the number of the fields is variable .&lt;/P&gt;&lt;P&gt;I tried &lt;SPAN style="font-size: 13.3333px;"&gt; hash128(*)&amp;nbsp; but it doesn't work. Is there any possible way to solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>hash128() without knowing the number of fields</title>
      <link>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258411#M851079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to apply hash128() function on loaded records but I don't really know the name of the loaded fields neither their number .&lt;/P&gt;&lt;P&gt;Besides , the number of the fields is variable .&lt;/P&gt;&lt;P&gt;I tried &lt;SPAN style="font-size: 13.3333px;"&gt; hash128(*)&amp;nbsp; but it doesn't work. Is there any possible way to solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&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/hash128-without-knowing-the-number-of-fields/m-p/1258411#M851079</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: hash128() without knowing the number of fields</title>
      <link>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258412#M851080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we need to know a bit more about what you're trying to do here.&lt;/P&gt;&lt;P&gt;Hash128 is usually used to create a composite key of a number of known fields because it is smaller and faster than a concatenate of the fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 09:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258412#M851080</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T09:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: hash128() without knowing the number of fields</title>
      <link>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258413#M851081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use system functions to query the name and number of fields in a table.&lt;/P&gt;&lt;P&gt;Iterate over the field names and create variable with a concatenated string of your field names, then expand the variable in your hash128() function as argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System functions (from the help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="NoOfFields"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;NoOfFields(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ 'TableName ' ]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the number of fields in a previously loaded table. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;LET a = NoOfFields('tab1');&lt;/P&gt;&lt;P class="Code"&gt;Load *, NoOfFields( ) from abc.csv;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="FieldName"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;FieldName(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;nr ,'TableName'&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the name of the field with the specified number within a previously loaded table. &lt;/P&gt;&lt;P&gt;If the function is used within a &lt;SPAN class="Bold"&gt;load&lt;/SPAN&gt; statement, it must not reference the table currently being loaded. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;LET a = FieldName(4,'tab1');&lt;/P&gt;&lt;P class="Code"&gt;T1:&lt;BR /&gt;Load a, b, c, d from abc.csv&lt;BR /&gt;T2: &lt;BR /&gt;Load FieldName (2, 'T1') Autogenerate 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258413#M851081</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-09T10:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: hash128() without knowing the number of fields</title>
      <link>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258414#M851082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example using QVD file here: &lt;A href="https://community.qlik.com/message/1229118"&gt;Re: How to apply a hash function to all fields&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's almost a circular reference in discussions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 16:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hash128-without-knowing-the-number-of-fields/m-p/1258414#M851082</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-10T16:11:45Z</dc:date>
    </item>
  </channel>
</rss>

