<?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: Link Table issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66465#M11030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felipe, but I am mostly looking for the data model, I added keys here uing &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; font-size: 14px; font-family: 'Open Sans', Arial, sans-serif; color: #0f0f0f;"&gt;autonumberhash128&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; font-family: 'Open Sans', Arial, sans-serif; color: #0f0f0f; background-color: #f4f4f4;"&gt; for samples.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 14:46:39 GMT</pubDate>
    <dc:creator>samp</dc:creator>
    <dc:date>2018-04-06T14:46:39Z</dc:date>
    <item>
      <title>Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66463#M11028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to create link table to have proper associations but could't able to achieve, any help for below sample data? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, AutoNumberHash128(userid, acctid, orDate, orname) as %Orrkey &lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;userid, acctid, orDate, orname&lt;/P&gt;&lt;P&gt;opp1u, opp9a, '1/30/2018', name1&lt;/P&gt;&lt;P&gt;opp2u, opp8a, '1/31/2018', name2&lt;/P&gt;&lt;P&gt;opp3u, opp7a, '2/1/2018', name3&lt;/P&gt;&lt;P&gt;opp4u, opp6a, '2/2/2018', name4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User:&lt;/P&gt;&lt;P&gt;Load *, AutoNumberHash128(userid, acctid) as %Userkey&amp;nbsp; &lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;userid, acctid, Div&lt;/P&gt;&lt;P&gt;opp1u, opp9a, A1&lt;/P&gt;&lt;P&gt;opp2u, opp8a, A2&lt;/P&gt;&lt;P&gt;opp3u, rrr,&amp;nbsp;&amp;nbsp;&amp;nbsp; A3&lt;/P&gt;&lt;P&gt;CSMP1u, CSMP9a, B1&lt;/P&gt;&lt;P&gt;CSMP2u, CSMP8a, B2&lt;/P&gt;&lt;P&gt;CSMP3u, fff, B3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calendar:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;calendardate, Quarter&lt;/P&gt;&lt;P&gt;'1/30/2018', Q1&lt;/P&gt;&lt;P&gt;'1/31/2018', Q1&lt;/P&gt;&lt;P&gt;'2/1/2018', Q2&lt;/P&gt;&lt;P&gt;'2/2/2018', Q2&lt;/P&gt;&lt;P&gt;'3/1/2018', Q3&lt;/P&gt;&lt;P&gt;'3/2/2018', Q3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Login:&lt;/P&gt;&lt;P&gt;Load *,&amp;nbsp; AutoNumberHash128(userid, logDate) as %Loginkey &lt;/P&gt;&lt;P&gt;Inline[&lt;/P&gt;&lt;P&gt;userid, logDate, empname&lt;/P&gt;&lt;P&gt;CSMP1u, '1/30/2018', CSMP1uname&lt;/P&gt;&lt;P&gt;CSMP2u, '1/31/2018', CSMP2uname&lt;/P&gt;&lt;P&gt;CSMP1u, '3/1/2018', CSMP1uname&lt;/P&gt;&lt;P&gt;CSMP2u, '3/2/2018', CSMP2uname&lt;/P&gt;&lt;P&gt;opp1u, '1/30/2018', opp1uname&lt;/P&gt;&lt;P&gt;opp2u, '1/31/2018', opp2uname&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link_table:&lt;/P&gt;&lt;P&gt;load %Orrkey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; userid,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; acctid,&lt;/P&gt;&lt;P&gt;orDate as calendardate&lt;/P&gt;&lt;P&gt;resident ORR;&lt;/P&gt;&lt;P&gt;drop fields&amp;nbsp; userid, acctid, orDate from ORR;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(Link_table)&lt;/P&gt;&lt;P&gt;load %Loginkey,&lt;/P&gt;&lt;P&gt;userid, // don't have acctid field here&lt;/P&gt;&lt;P&gt;logDate as calendardate&lt;/P&gt;&lt;P&gt;resident Login;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop fields userid, logDate from Login;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (Link_table)&lt;/P&gt;&lt;P&gt;load userid, &lt;/P&gt;&lt;P&gt;acctid, &lt;/P&gt;&lt;P&gt;%Userkey&lt;/P&gt;&lt;P&gt;resident User;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop fields userid, acctid from&amp;nbsp; User; &lt;/P&gt;&lt;P&gt;exit script&lt;/P&gt;&lt;P&gt;issue is datamodel looks good but not having %Userkey values for %Loginkey so that's the reason I could't able to see Div Values for %LoginKey.&lt;/P&gt;&lt;P&gt;Calendar data associations working fine.&lt;/P&gt;&lt;P&gt;appreciate for your help to get all the data in sample report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 06:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66463#M11028</guid>
      <dc:creator>samp</dc:creator>
      <dc:date>2018-04-06T06:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66464#M11029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to the autonumberhas128 function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/autonumberhash128.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/autonumberhash128.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/CounterFunctions/autonumberhash128.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;"You can only connect &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;autonumberhash128&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt; keys that have been generated in the same data load, as the integer is generated according to the order the table is read. If you need to use keys that are persistent between data loads, independent of source data sorting, you should use the &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;hash128&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;hash160&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt; or &lt;/SPAN&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px;"&gt;hash256&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt; functions."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;That being said, the autonumber will generate different numbers, since it's not being loaded in a single table, hence the linking problems your experimenting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; background-color: #f4f4f4;"&gt;Felipe.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 12:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66464#M11029</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-04-06T12:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Link Table issue</title>
      <link>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66465#M11030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felipe, but I am mostly looking for the data model, I added keys here uing &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold; font-size: 14px; font-family: 'Open Sans', Arial, sans-serif; color: #0f0f0f;"&gt;autonumberhash128&lt;/SPAN&gt;&lt;SPAN style="font-size: 14px; font-family: 'Open Sans', Arial, sans-serif; color: #0f0f0f; background-color: #f4f4f4;"&gt; for samples.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Link-Table-issue/m-p/66465#M11030</guid>
      <dc:creator>samp</dc:creator>
      <dc:date>2018-04-06T14:46:39Z</dc:date>
    </item>
  </channel>
</rss>

