<?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: Loading two files from different dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735145#M722397</link>
    <description>&lt;P&gt;Thank you, this loaded sucessfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But could you tell me the expression that I have to write to display Sales of this week and sales of previous week ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be more simple, I want a table like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sales(Week07/27) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sales(Week08/03)&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; ****&lt;/P&gt;&lt;P&gt;'***' are numbers .&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2020 10:02:55 GMT</pubDate>
    <dc:creator>KaisGarci</dc:creator>
    <dc:date>2020-08-12T10:02:55Z</dc:date>
    <item>
      <title>Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734720#M722393</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to qlikview. I have two excel files containing sales of different dates ( week of 07/27 and week of 08/03). I want to create a table that display both sales.&lt;/P&gt;&lt;P&gt;Can anyone help me please ?&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734720#M722393</guid>
      <dc:creator>KaisGarci</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734861#M722394</link>
      <description>&lt;P&gt;Does the dates change?&lt;/P&gt;&lt;P&gt;Share the names of the files. sample of the contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 14:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734861#M722394</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-11T14:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734921#M722395</link>
      <description>&lt;P&gt;Thank you for responding&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes sales vary from one week to another. I want to put them in a table in order to see the difference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 16:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734921#M722395</guid>
      <dc:creator>KaisGarci</dc:creator>
      <dc:date>2020-08-11T16:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734933#M722396</link>
      <description>&lt;P&gt;you misunderstood . you mention weeks&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;EM&gt;week of 07/27 and week of 08/03&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;i am assuming this will change dynamically . is that fair?&lt;/P&gt;&lt;P&gt;if so use a script something like below. (i am assuming you want to load last 2 weeks) i.e.&amp;nbsp;Test 08-03-2020.xls and Test 07-27-2020.xlsx&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let vLastWeek = Date(weekstart(today(),0,0)-7,'MM-DD-YYYY');
Sales:
LOAD ID, 
     Sales, 
     Date(weekstart(today(),0,0)-7,'MM-DD-YYYY') as Week
FROM
[..\Downloads\Test $(vLastWeek).xls]
(biff, embedded labels, table is Sheet1$);

let v2Week = Date(weekstart(today(),0,0)-14,'MM-DD-YYYY');
concatenate(Sales)
LOAD ID, 
     Sales, 
     Date(weekstart(today(),0,0)-14,'MM-DD-YYYY') as Week
FROM
[..\Downloads\Test $(v2Week).xls]
(biff, embedded labels, table is Sheet1$);&lt;/LI-CODE&gt;&lt;P&gt;if you give me the sample excels i can tweak it to your specification&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 17:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1734933#M722396</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-11T17:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735145#M722397</link>
      <description>&lt;P&gt;Thank you, this loaded sucessfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But could you tell me the expression that I have to write to display Sales of this week and sales of previous week ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be more simple, I want a table like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sales(Week07/27) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sales(Week08/03)&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; ****&lt;/P&gt;&lt;P&gt;'***' are numbers .&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 10:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735145#M722397</guid>
      <dc:creator>KaisGarci</dc:creator>
      <dc:date>2020-08-12T10:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735209#M722398</link>
      <description>&lt;P&gt;You can do that in a pivot table and move week to column.&lt;/P&gt;&lt;P&gt;you could do it script too but i would not recommend it as data model becomes less flexible.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735209#M722398</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-12T11:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading two files from different dates</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735217#M722400</link>
      <description>&lt;P&gt;Thank you a lot, I will try it&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-two-files-from-different-dates/m-p/1735217#M722400</guid>
      <dc:creator>KaisGarci</dc:creator>
      <dc:date>2020-08-12T12:00:58Z</dc:date>
    </item>
  </channel>
</rss>

