<?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 AutoNumberHash256 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555196#M40040</link>
    <description>&lt;P&gt;Hello dear community,&lt;/P&gt;&lt;P&gt;I have a table 'vTable'. With a number of x columns. I do not know the exact number and not the column names. Now I would like to calculate a hash value over all columns (per line).&lt;/P&gt;&lt;P&gt;I can calculate the number of columns with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Num(NoOfRows('$(vTable)'),'#.##0,#')			as TableRows,&lt;/PRE&gt;&lt;P&gt;and name with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FOR i = 1 to NoOfFields('$(vTable)')
Fields:
LOAD
FieldName($(i),'$(vTable)')	AS FieldName
AutoGenerate 1
;

NEXT i&lt;/PRE&gt;&lt;P&gt;how do I now get the function 'Autonumberhash256 ()' fed so that I get the desired hash value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and have a nice day &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 08:56:00 GMT</pubDate>
    <dc:creator>FrankTheTank</dc:creator>
    <dc:date>2019-03-12T08:56:00Z</dc:date>
    <item>
      <title>AutoNumberHash256</title>
      <link>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555196#M40040</link>
      <description>&lt;P&gt;Hello dear community,&lt;/P&gt;&lt;P&gt;I have a table 'vTable'. With a number of x columns. I do not know the exact number and not the column names. Now I would like to calculate a hash value over all columns (per line).&lt;/P&gt;&lt;P&gt;I can calculate the number of columns with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Num(NoOfRows('$(vTable)'),'#.##0,#')			as TableRows,&lt;/PRE&gt;&lt;P&gt;and name with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;FOR i = 1 to NoOfFields('$(vTable)')
Fields:
LOAD
FieldName($(i),'$(vTable)')	AS FieldName
AutoGenerate 1
;

NEXT i&lt;/PRE&gt;&lt;P&gt;how do I now get the function 'Autonumberhash256 ()' fed so that I get the desired hash value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and have a nice day &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555196#M40040</guid>
      <dc:creator>FrankTheTank</dc:creator>
      <dc:date>2019-03-12T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: AutoNumberHash256</title>
      <link>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555213#M40041</link>
      <description>&lt;P&gt;It's not quite clear for me what do you want to do. Do you want to apply the hash-logic for the columns within the table or for the records? What is the aim behind it?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555213#M40041</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-12T09:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: AutoNumberHash256</title>
      <link>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555225#M40042</link>
      <description>&lt;P&gt;I want to use the hash logic for every row within the table.&lt;/P&gt;&lt;P&gt;so that i can compare the row with her&amp;nbsp;predecessor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Row_1: A, B, C, Hash=100&amp;nbsp;&lt;/P&gt;&lt;P&gt;Row_2: A, D, C, Hash=105&amp;nbsp; -&amp;gt; i get the information that in this row is a change.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555225#M40042</guid>
      <dc:creator>FrankTheTank</dc:creator>
      <dc:date>2019-03-12T09:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: AutoNumberHash256</title>
      <link>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555232#M40044</link>
      <description>&lt;P&gt;You could probably create a variable to concatenate all the field names as a string and then use that in autonumberhash256(), like:&lt;/P&gt;&lt;PRE&gt;Let vFieldsConcatenated=;

FOR i = 1 to NoOfFields('tTable')
Fields:
LOAD
FieldName($(i),'tTable')	AS FieldName
AutoGenerate 1
;
Let &lt;STRONG&gt;vFieldsConcatenated&lt;/STRONG&gt;='$(vFieldsConcatenated)'&amp;amp;If($(i)&amp;gt;1,',')&amp;amp;Peek('FieldName');
NEXT i

RegionSales:
LOAD *,
AutoNumberHash256($(vFieldsConcatenated)) as HashMkey
Resident tTable;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555232#M40044</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-03-12T09:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: AutoNumberHash256</title>
      <link>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555378#M40054</link>
      <description>&lt;P&gt;thanks, that is excactly what iam looking for.&lt;/P&gt;&lt;P&gt;VG&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 12:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AutoNumberHash256/m-p/1555378#M40054</guid>
      <dc:creator>FrankTheTank</dc:creator>
      <dc:date>2019-03-12T12:59:58Z</dc:date>
    </item>
  </channel>
</rss>

