<?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: How to associate 2 tables with diff dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434412#M459055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if attached looks like what you wanted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 15:48:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-11-08T15:48:18Z</dc:date>
    <item>
      <title>How to associate 2 tables with diff dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434411#M459054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to ask the question before here &lt;A _jive_internal="true" href="https://community.qlik.com/thread/280447"&gt;https://community.qlik.com/thread/280447&lt;/A&gt;&amp;nbsp;&amp;nbsp; but it was probably due to my poor sample data, failed to describe clearly. This time around I have tried my best. as seen below I have 2 tables that have 3 common fields: Country, Region &amp;amp; Payment Group. In the app attached, I have tried to fix that problem with a link table. My main req is to associate [Date Purchased] with[ Date Ordered] so that [Date ordered] is 1 month behind. For eg. data in Mar 2017 for [Date Purchased] should link with data in Feb 2017 for [Date Ordered]. if common fields were not a problem then this was solved by &lt;A href="https://community.qlik.com/qlik-users/61824"&gt;marcowedel&lt;/A&gt;‌ by connecting with monthname(&lt;SPAN style="font-size: 13.3333px;"&gt;[Date Ordered],1) -----monthname(&lt;SPAN style="font-size: 13.3333px;"&gt;[Date Purchased]) Thank you Marco for your help. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 296px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="130"&gt;&lt;STRONG&gt;Purchase&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="166"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Country&lt;/TD&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Region&lt;/TD&gt;&lt;TD&gt;Region&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Payment Group&lt;/TD&gt;&lt;TD&gt;Payment Group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Date Purchased&lt;/TD&gt;&lt;TD&gt;Date Ordered&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Sales&lt;/TD&gt;&lt;TD&gt;COGS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Row Count&lt;/TD&gt;&lt;TD&gt;Expenses&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to sum it up my req is to sum(COGS) Dec 2016[Date Ordered] for Jan 2017[Date Purchased], Jan 2017&lt;SPAN style="font-size: 13.3333px;"&gt;[Date Ordered]&lt;/SPAN&gt; for Feb 2017&lt;SPAN style="font-size: 13.3333px;"&gt;[Date Purchased]&lt;/SPAN&gt; and so on as suggested below. Purchased month is just a monthstart aggregate. how do I achieve it. Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="182457" alt="straight table.PNG" class="jive-image image-1" src="/legacyfs/online/182457_straight table.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 05:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434411#M459054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T05:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate 2 tables with diff dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434412#M459055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if attached looks like what you wanted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 15:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434412#M459055</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-08T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to associate 2 tables with diff dates</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434413#M459056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you sunny for taking the time to go through and for your swift and accurate answer as always.&lt;/P&gt;&lt;P&gt;Regards. this made my day. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-associate-2-tables-with-diff-dates/m-p/1434413#M459056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T20:02:55Z</dc:date>
    </item>
  </channel>
</rss>

