<?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: two fields in two tables as keyfields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841874#M295893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice one!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 13:39:34 GMT</pubDate>
    <dc:creator>awhitfield</dc:creator>
    <dc:date>2015-05-12T13:39:34Z</dc:date>
    <item>
      <title>two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841865#M295884</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 two tables&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;ReferenceID, Outlet, Asset, Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;ReferenceID, Outlet, Questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 4 outlets an in every outlet exists the referenceID 256456.&lt;/P&gt;&lt;P&gt;so only the combination of the two fields could give an exact value.&lt;/P&gt;&lt;P&gt;my Problem is that i have in the second table the same Problem with the referenceid and the outlet.&lt;/P&gt;&lt;P&gt;so what can i do to connect These two tables and the Output is exact one value&lt;/P&gt;&lt;P&gt;referenceID, Outlet, Asset, Sales, Questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841865#M295884</guid>
      <dc:creator />
      <dc:date>2015-05-12T09:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841866#M295885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi Andreas,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;you can combine the referenceid and outlet into a single combined key, e.g&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ReferenceID&lt;/SPAN&gt; &amp;amp;'-'&amp;amp;&lt;SPAN style="color: #800000;"&gt;Outlet&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Unique_ID&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #008000;"&gt;//ReferenceID, &lt;BR /&gt; // Outlet, &lt;BR /&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;Asset&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;Sales&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;D&gt;&lt;/D&gt;&lt;/STRONG&gt;&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet1);&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;ReferenceID&lt;/SPAN&gt; &amp;amp;'-'&amp;amp;&lt;SPAN style="color: #800000;"&gt;Outlet&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Unique_ID&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #008000;"&gt;//ReferenceID, &lt;BR /&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #008000;"&gt;//Outlet, &lt;BR /&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;Questions&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; &lt;STRONG&gt;&lt;D&gt;&lt;/D&gt;&lt;/STRONG&gt;&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet2); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841866#M295885</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-05-12T09:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841867#M295886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can join both tables in a single one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReferenceID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Outlet,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Asset,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;From ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left join (Table1) Load ReferenceID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Outlet,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Question&lt;/P&gt;&lt;P&gt;From:....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841867#M295886</guid>
      <dc:creator>jsanchezh</dc:creator>
      <dc:date>2015-05-12T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841868#M295887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, but i tried this but it doesnt works,... have u an got an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841868#M295887</guid>
      <dc:creator />
      <dc:date>2015-05-12T09:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841869#M295888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post your qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 10:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841869#M295888</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-05-12T10:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841870#M295889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;You can create a Combination Key / Fieldusing RefernceID and Outtlet , which will hold all the combinations of the Values in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Syntax would go like Andy has described in his reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #800000;"&gt;ReferenceID&lt;/SPAN&gt; &amp;amp;'-'&amp;amp;&lt;SPAN style="color: #800000;"&gt;Outlet&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Unique_I '&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;You can Use teh Hash128() function on the Unique_ID field .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 10:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841870#M295889</guid>
      <dc:creator />
      <dc:date>2015-05-12T10:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841871#M295890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i tried The join no result, can the mistake in the Formate of the field 000.000,00 instead of 00000&amp;nbsp; ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 10:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841871#M295890</guid>
      <dc:creator />
      <dc:date>2015-05-12T10:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841872#M295891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you might have different cases or may be because of space. Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Upper(Trim(ReferenceID) &amp;amp;'-'&amp;amp;Trim(Outlet)) as Unique_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 11:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841872#M295891</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-05-12T11:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841873#M295892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx the two alternatives wit the field combination or the join of the two tables are right, my prob was that the Format of the second table was txt and not numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 12:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841873#M295892</guid>
      <dc:creator />
      <dc:date>2015-05-12T12:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: two fields in two tables as keyfields</title>
      <link>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841874#M295893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice one!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 13:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-fields-in-two-tables-as-keyfields/m-p/841874#M295893</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-05-12T13:39:34Z</dc:date>
    </item>
  </channel>
</rss>

