<?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: Join not recognizing Key field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165423#M912330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 19:30:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-06-09T19:30:58Z</dc:date>
    <item>
      <title>Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165422#M912329</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 have a fact table that I load a (Sample 0.25) in a resident table. in this SAMPLE TABLE I did some calculation and now I would like to apply the results back to the fact again. So I tried to join the SAMPLE TABLE in the fact but I get 2 rows per key field. One original and other with the results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to have is to The FACT table with the results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows the reason for not recognizing a key field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&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/Join-not-recognizing-Key-field/m-p/1165422#M912329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165423#M912330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 19:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165423#M912330</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-09T19:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165424#M912331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERCENTAGES&lt;/P&gt;&lt;P&gt;LOAD REGION, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEW_RATE &lt;/P&gt;&lt;P&gt;FROM $(vReload)\PERCENTAGES.qvd&amp;nbsp; (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//loading table with results&lt;/P&gt;&lt;P&gt;For a = 0 to NoOfRows('PERCENTAGES_NEW')-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vPERCENTAGE_NEW = replace((peek('&lt;SPAN style="font-size: 13.3333px;"&gt;NEW_RATE &lt;/SPAN&gt;',a,'&lt;SPAN style="font-size: 13.3333px;"&gt;PERCENTAGES&lt;/SPAN&gt;'))/100,',','.');&lt;/P&gt;&lt;P&gt;&amp;nbsp; let vPER_REG_N = peek('REGION',a,'&lt;SPAN style="font-size: 13.3333px;"&gt;PERCENTAGES&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;&amp;nbsp; //STD percentage&lt;/P&gt;&lt;P&gt;&amp;nbsp; if '$(&lt;SPAN style="font-size: 13.3333px;"&gt;vPERCENTAGE_NEW &lt;/SPAN&gt;)'=Null() or '$(&lt;SPAN style="font-size: 13.3333px;"&gt;vPERCENTAGE_NEW &lt;/SPAN&gt;)'='0' or '$(&lt;SPAN style="font-size: 13.3333px;"&gt;vPERCENTAGE_NEW &lt;/SPAN&gt;)'='' then &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;vPERCENTAGE_NEW &lt;/SPAN&gt;= 0.2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEW_PROJ:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; sample $(&lt;SPAN style="font-size: 13.3333px;"&gt;vPERCENTAGE_NEW &lt;/SPAN&gt;) load&amp;nbsp; right([S/N],8) as [S/N],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REGION ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODEL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'STANDARD' as [MODULE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Addmonths(T, 3)) as [START DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(AddYears(addmonths(T,3),5))as [ END DATE],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'NEW&amp;nbsp; RETENTION'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as FLAG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; resident WTable &lt;/P&gt;&lt;P&gt;&amp;nbsp; where REGION = '$(vPER_REG_N)' and FLAG&amp;lt;&amp;gt;'YES' ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;drop Tables &lt;SPAN style="font-size: 13.3333px;"&gt;PERCENTAGES&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 19:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165424#M912331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T19:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165425#M912332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mentioned a join, where exactly is the join taking place? Is there more script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 19:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165425#M912332</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-09T19:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165426#M912333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, there is more below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE WTable into $(vLocale)\WTable.qvd (qvd);&lt;/P&gt;&lt;P&gt;drop table &lt;SPAN style="font-size: 13.3333px;"&gt;WTable&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE_TABLE:&lt;/P&gt;&lt;P&gt;load *, &lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 as TEST&lt;/P&gt;&lt;P&gt;resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;NEW_PROJ&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;drop table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;NEW_PROJ&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE_JOIN:&lt;/P&gt;&lt;P&gt;join(TABLE_TABLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD right([S/N],8) as [S/N], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODEL, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [END DATE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [START DATE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MODULE], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AGE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from $(vLocale)\WTable.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165426#M912333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T20:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165427#M912334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the fields (END DATE, START DATE, MODULE and FLAG) from table NEW_PROJ has data different from WTable. I think it because of this why it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165427#M912334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T20:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165428#M912336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the whole script. I don't see the WTable created, but it is getting stored &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165428#M912336</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-09T20:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Join not recognizing Key field</title>
      <link>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165429#M912338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp; Sunny! &lt;/P&gt;&lt;P&gt;I was trying to join with multiple fields in common. Thats why I was having two lines per S/N. Now I changed the filed's name and did an IF CLAUSE replacing ZERO values by those in the fields renamed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All good now. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 20:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-not-recognizing-Key-field/m-p/1165429#M912338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-09T20:57:56Z</dc:date>
    </item>
  </channel>
</rss>

