<?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 field from another table as key in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651225#M238178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the right join is searching for IWorkstationNmbr, wile in the loaded table WN, there is NO IWorkstationNmbr (only added wirg date to TP_KEY, but IWorkstationNmbr does not exist) nor p5WorkstationNmbr. So how should the jin work? No results! Or is there a&amp;nbsp; misspelling p5WorkstationNmbr and p5IWorkstationNmbr from WN should be equal?&lt;/P&gt;&lt;P&gt;Or am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 13:54:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-08-28T13:54:21Z</dc:date>
    <item>
      <title>Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651223#M238176</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 need to create a key with to fields but they are from two differnt tables. The key should be with &lt;STRONG&gt;Date&lt;/STRONG&gt; and &lt;STRONG&gt;lWorkstationNmbr&lt;/STRONG&gt; but &lt;STRONG&gt;lWorkstationNmbr&lt;/STRONG&gt; are from tha table Data.xlsx. Have the following script that doesn't work, any suggestions have to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WN:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransactionID2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Date,&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tp5kTime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StoreID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; &lt;/STRONG&gt;p5IWorkstationNmbr, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; lWorkstationNmbr&amp;amp;Date as TP_Key,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p5kWorkstationName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductCategory, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OperatorID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, no labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right Join(WN)&lt;/P&gt;&lt;P&gt;LOAD &lt;STRONG&gt;lWorkstationNmbr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p5WorkstationNmbr&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\Sales_Import\Data.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is SALES);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 09:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651223#M238176</guid>
      <dc:creator />
      <dc:date>2014-08-26T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651224#M238177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,is there someone that have any solution for this? I would like to merge two fields, &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;lWorkstationNmbr&lt;/STRONG&gt; (from table Data) with field &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date&lt;/STRONG&gt; (from table WN) and create a key that i need to use for connecting with other tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651224#M238177</guid>
      <dc:creator />
      <dc:date>2014-08-28T13:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651225#M238178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the right join is searching for IWorkstationNmbr, wile in the loaded table WN, there is NO IWorkstationNmbr (only added wirg date to TP_KEY, but IWorkstationNmbr does not exist) nor p5WorkstationNmbr. So how should the jin work? No results! Or is there a&amp;nbsp; misspelling p5WorkstationNmbr and p5IWorkstationNmbr from WN should be equal?&lt;/P&gt;&lt;P&gt;Or am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651225#M238178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-28T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651226#M238179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no misspelling and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;p5WorkstationNmbr&lt;/SPAN&gt; should be equals. The join between WN and Data is not necessary (could use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;p5WorkstationNmbr&lt;/SPAN&gt; as key) but I need to create a key with &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;lWorkstationNmbr&lt;/STRONG&gt; and &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date.&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651226#M238179</guid>
      <dc:creator />
      <dc:date>2014-08-28T14:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651227#M238180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is okay if you create the key TP_Key, but for the join you Need to add the field IWorkstationNmbr as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WN:&lt;/P&gt;&lt;P&gt;Load distinct&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;IWorkstationNmbr,&lt;/P&gt;&lt;P&gt;IWorkstationNmbr &amp;amp; Date as TP_Key,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Then the right join should work, as there are two common fields for the join!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651227#M238180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-28T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651228#M238181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this APPLYMAP approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P5WorkStations:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p5WorkstationNmbr,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lWorkstationNmbr&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;C:\Sales_Import\Data.xlsx&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is SALES);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WN:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD DISTINCT&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransactionID2,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateTime,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tp5kTime,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StoreID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p5IWorkstationNmbr,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPLYMAP('P5WorkStations', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;p5IWorkstationNmbr, 'NoWorkStation') &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;amp; Date as TP_Key,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p5kWorkstationName,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProductCategory,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OperatorID&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, no labels, table is Sheet1$);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651228#M238181</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-08-28T14:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651229#M238182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post sample data in the format of both Excel-files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651229#M238182</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-28T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651230#M238183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The key should use &lt;STRONG style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;lWorkstationNmbr&lt;/STRONG&gt; not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;p5IWorkstationNmbr.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651230#M238183</guid>
      <dc:creator />
      <dc:date>2014-08-28T14:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651231#M238184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The join is working good but the problem is that the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;IWorkstationNmbr&lt;/SPAN&gt; is from the table Data and it is not working to create the key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 14:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651231#M238184</guid>
      <dc:creator />
      <dc:date>2014-08-28T14:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651232#M238185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The APPLYMAP returns IWorkStationNmbr based on a lookup of the P5IWorkStationNmbr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 16:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651232#M238185</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-08-28T16:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use field from another table as key</title>
      <link>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651233#M238186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you need to put your SQL thinking aside. Load scripts are sequential loading processes not queries. In your script the process reads as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Load WN*.XLS (dataset a)&lt;/P&gt;&lt;P&gt;2) Load Data.XLS (dataset b)&lt;/P&gt;&lt;P&gt;3) RIGHT JOIN dataset a and b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wanted to work with what you have you could have loaded into a temp table WN_tmp and then done a RESIDENT load into a final table with the final Key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 16:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-field-from-another-table-as-key/m-p/651233#M238186</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-08-28T16:05:50Z</dc:date>
    </item>
  </channel>
</rss>

