<?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 Help with referencing one field in another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195798#M56160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the suggestion, can you possibly illustrate this a little further? If I currently have my set up as:&lt;/P&gt;&lt;P&gt;Tab 1 - With table 1 in&lt;/P&gt;&lt;P&gt;===================================================================================&lt;/P&gt;&lt;P&gt;Tab 2 - Open&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field 1&lt;/P&gt;&lt;P&gt;Date (Field 1) - Date (Field 2) as [Date Difference]&lt;/P&gt;&lt;P&gt;SQL Select *&lt;/P&gt;&lt;P&gt;From Table 2&lt;/P&gt;&lt;P&gt;=============================================================&lt;/P&gt;&lt;P&gt;With Field 2 located in Tab 1, Table 1.&lt;/P&gt;&lt;P&gt;What would the common key be? Something that links the two tables? Would I have to load this along with the field I am interested in?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 18:08:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-23T18:08:32Z</dc:date>
    <item>
      <title>Help with referencing one field in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195796#M56158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've got a query about writing what should be a relatively straight forward bit of script.&lt;/P&gt;&lt;P&gt;What I have is two tabs on the go, each with a seperate table in it saved to seperate qvd files. In one table I want to make a comparison of dates like so:&lt;/P&gt;&lt;P&gt;date (field name) - date (field name 2) as [Date difference]&lt;/P&gt;&lt;P&gt;However, this second field name is within the second tab, how do I reference it so that when I run the script it only pulls in the data for that one field and not the entire table again?&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 15:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195796#M56158</guid>
      <dc:creator />
      <dc:date>2009-09-23T15:35:29Z</dc:date>
    </item>
    <item>
      <title>Help with referencing one field in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195797#M56159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you will need to attached the Date difference field to the most populated table. You can do a&lt;/P&gt;&lt;P&gt;left join (BigTable) Load CommonKey,&lt;BR /&gt; date (field name) - date (field name 2) as [Date difference]&lt;BR /&gt;resident SmallerTable;&lt;/P&gt;&lt;P&gt;after the BigTable load, assuming that SmallerTable is already loaded.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 18:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195797#M56159</guid>
      <dc:creator />
      <dc:date>2009-09-23T18:00:32Z</dc:date>
    </item>
    <item>
      <title>Help with referencing one field in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195798#M56160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the suggestion, can you possibly illustrate this a little further? If I currently have my set up as:&lt;/P&gt;&lt;P&gt;Tab 1 - With table 1 in&lt;/P&gt;&lt;P&gt;===================================================================================&lt;/P&gt;&lt;P&gt;Tab 2 - Open&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Field 1&lt;/P&gt;&lt;P&gt;Date (Field 1) - Date (Field 2) as [Date Difference]&lt;/P&gt;&lt;P&gt;SQL Select *&lt;/P&gt;&lt;P&gt;From Table 2&lt;/P&gt;&lt;P&gt;=============================================================&lt;/P&gt;&lt;P&gt;With Field 2 located in Tab 1, Table 1.&lt;/P&gt;&lt;P&gt;What would the common key be? Something that links the two tables? Would I have to load this along with the field I am interested in?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 18:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195798#M56160</guid>
      <dc:creator />
      <dc:date>2009-09-23T18:08:32Z</dc:date>
    </item>
    <item>
      <title>Help with referencing one field in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195799#M56161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;Could you attach script. I assume that you want to calculate the date difference for each line, so there must be some link between the two tables but I cannot visualise your data with the info so far.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 18:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195799#M56161</guid>
      <dc:creator />
      <dc:date>2009-09-23T18:20:13Z</dc:date>
    </item>
    <item>
      <title>Help with referencing one field in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195800#M56162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, I don't know how to really attach the script let me know if this isnt what you meant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Left&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;Join&lt;/B&gt; &lt;P&gt;(&lt;I&gt;AP_detail&lt;/I&gt;)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RMPYID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;as&lt;/B&gt; [Payment ID] &lt;P&gt;,&lt;/P&gt;&lt;P&gt;RMDCTM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;as&lt;/B&gt; [Payment Doc] &lt;P&gt;,&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// RMDOCM as [Doc No],&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMPYE,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMGLBA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;RMDMTJ &lt;B&gt;as&lt;/B&gt; [Payment Date] &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(MakeDate(1900+left(text(RMDMTJ),len(RMDMTJ)-3))+right(text(RMDMTJ),3)-1) &lt;B&gt;as&lt;/B&gt; [Date Of Payment] &lt;P&gt;,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(RMDMTJ) - Date (RPDDJ) &lt;B&gt;as&lt;/B&gt; [Actual Payment Days];&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// RMVDGJ,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMICU,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMICUT,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMDICJ,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMPAAP,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMCRCD,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMCRRM,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMAM,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMVLDT,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMPYIN,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMISTP,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMCBNK,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMBKTR,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMTORG,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMUSER,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMPID,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMUPMJ,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMUPMT,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// RMJOBN;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;SQL&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;SELECT&lt;/B&gt; &lt;P&gt;*&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRDTA.F0413;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Store&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;AP_detail &lt;B&gt;into&lt;/B&gt; data &lt;P&gt;/AP_detail.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this script I need to make the statement understand that RPDDJ is infact in another table called AP_Ledger, in database called TRDTA.F0411 however I need to make sure that only the RPDDJ is loaded from the other table, otherwise the load time will be far too long,&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 19:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195800#M56162</guid>
      <dc:creator />
      <dc:date>2009-09-23T19:58:51Z</dc:date>
    </item>
    <item>
      <title>Help with referencing one field in another table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195801#M56163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you email the QV doc (with no data loaded) to me at &lt;A href="mailto:jane.jackman@aero-inventory.com"&gt;jane.jackman@aero-inventory.com&lt;/A&gt; as that does not make sense top me.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 21:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-referencing-one-field-in-another-table/m-p/195801#M56163</guid>
      <dc:creator />
      <dc:date>2009-09-23T21:12:59Z</dc:date>
    </item>
  </channel>
</rss>

