<?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: Linking 2 databases with the Shopcode, but need also the Year to be linked in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556346#M690449</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;If you are using same fieldname in Department and SalesForce means concatenate the two table.&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shopcode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Datefield) As year,&lt;/P&gt;&lt;P&gt;From Department;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shopcode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Datefield) As year,&lt;/P&gt;&lt;P&gt;From SalesForce;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2013 19:42:34 GMT</pubDate>
    <dc:creator>v_iyyappan</dc:creator>
    <dc:date>2013-09-23T19:42:34Z</dc:date>
    <item>
      <title>Linking 2 databases with the Shopcode, but need also the Year to be linked</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556343#M690446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, good afternoon!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two database, one from the financial department, and one from Salesforce. In both of them I have "Year", "Month" and "Shop code".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link between those bases is with the "[Shop Code]", but, When I select "Year=2013", from the financial database, it doesn't filter correctly the Salesforce Year. I use a different name for the Salesforce Year, because when I use the same, circular references are made, and then it doesn't work also correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I solve this kind of issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 18:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556343#M690446</guid>
      <dc:creator />
      <dc:date>2013-09-23T18:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linking 2 databases with the Shopcode, but need also the Year to be linked</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556344#M690447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try concatenating the fields into one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load shopcode &amp;amp; year as shopcodeyear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 19:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556344#M690447</guid>
      <dc:creator />
      <dc:date>2013-09-23T19:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Linking 2 databases with the Shopcode, but need also the Year to be linked</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556345#M690448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean, I need to solve it in the script part...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 19:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556345#M690448</guid>
      <dc:creator />
      <dc:date>2013-09-23T19:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Linking 2 databases with the Shopcode, but need also the Year to be linked</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556346#M690449</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;If you are using same fieldname in Department and SalesForce means concatenate the two table.&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shopcode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Datefield) As year,&lt;/P&gt;&lt;P&gt;From Department;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shopcode,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Datefield) As year,&lt;/P&gt;&lt;P&gt;From SalesForce;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 19:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556346#M690449</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2013-09-23T19:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linking 2 databases with the Shopcode, but need also the Year to be linked</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556347#M690450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can concatenate the fields Year, Month and Shopcode into a new one: "KeyField"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year &amp;amp; '|' &amp;amp; Month '|' &amp;amp; Shopcode AS&amp;nbsp; KeyField&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then, create a link table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LinkTable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldValue('KeyField',Iterno()) AS KeyField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Subfield(FieldValue('KeyField',Iterno()),'|',1) AS Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Subfield(FieldValue('KeyField',Iterno()),'|',2) AS Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Subfield(FieldValue('KeyField',Iterno()),'|',3) AS Shopcode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoGenerate 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; While(Len(FieldValue('KeyField',Iterno())))&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 21:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-2-databases-with-the-Shopcode-but-need-also-the-Year-to/m-p/556347#M690450</guid>
      <dc:creator>jemancilla</dc:creator>
      <dc:date>2013-09-23T21:10:41Z</dc:date>
    </item>
  </channel>
</rss>

