<?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: Re: How To Calculate Selected Date, Last year date, MTD,YTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720531#M258764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any luck with these ? Sorry to keep you asking but i am already 2 days behind on this work and i need to get it done soon as i have 30 more calculations which basically use the same logic which i need to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 15:36:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-23T15:36:20Z</dc:date>
    <item>
      <title>How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720526#M258759</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;&lt;/P&gt;&lt;P&gt;I am trying to achieve the following and i did something with the expressions but looks like my values are incorrect.Can someone please throw any suggestions on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to achieve the calculations for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) TY Traffic ( This Year Traffic for a given date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) LY Traffic ( Last Year Traffic for a given date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) TY MTD Traffic (&amp;nbsp; This Year Month To Date( for the whole month until selected date)Traffic for a given date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) LY MTD Traffic (&amp;nbsp; Last Year Month To Date( for the whole month of last year until selected date)Traffic for a given date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) TY YTD Traffic (&amp;nbsp; This Year Month To Date( for the whole year until selected date)Traffic for a given date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) LY YTD Traffic (&amp;nbsp; This Year Month To Date( for the whole last year&amp;nbsp; until selected date)Traffic for a given date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a sample excel pivot table also which helps me what values i am looking for and i have attahced my test QVW i am working on, I have selected the date as 20140323 in both QVW and excel for location 3020.So, for these conditions these 2 must match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MTD and YTD is same in this case as our Fiscal Month Starts in February .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please throw any suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720526#M258759</guid>
      <dc:creator />
      <dc:date>2014-07-21T14:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720527#M258760</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;Can you share the sample QVDs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720527#M258760</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720528#M258761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i didnt get you i dont have any sample QVW's all i have is the excel file which is attached for validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720528#M258761</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720529#M258762</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;I meant the QVD files from which you are loading data in QVW file in your script.&lt;/P&gt;&lt;P&gt;Files such as: &lt;/P&gt;&lt;P&gt;..\..\Data\QVD\Transform\StoreTraffic_LocWk.qvd (Qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a small subset of data would also suffice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720529#M258762</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720530#M258763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are the 3 QVW's&amp;nbsp; i am using in this application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720530#M258763</guid>
      <dc:creator />
      <dc:date>2014-07-23T14:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720531#M258764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any luck with these ? Sorry to keep you asking but i am already 2 days behind on this work and i need to get it done soon as i have 30 more calculations which basically use the same logic which i need to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720531#M258764</guid>
      <dc:creator />
      <dc:date>2014-07-23T15:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720532#M258765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there find attachment and make variables wrto it&lt;/P&gt;&lt;P&gt;hover your mouse on exp to get what exactly happening.&lt;/P&gt;&lt;P&gt;hope this helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720532#M258765</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-07-23T17:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720533#M258766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like we are getting what we want, but in the facts tab if i add sales to traffic the values seems to be getting higher, i think its doing some cross join. Can you please help me with the correct way to write the script for load script to join multiple facts into one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my updated QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, looks like we are having the calculations for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TY Traffic,&lt;/P&gt;&lt;P&gt;TY MTD Traffic,&lt;/P&gt;&lt;P&gt;LY MTD Traffic,&lt;/P&gt;&lt;P&gt;TY YTD Traffic Traffic,&lt;/P&gt;&lt;P&gt;LY YTD Traffic&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;I think we are missing LY Traffic, can you also please help me with the calculation for Last Year Traffic.( missing i mean like the value is showing up as 0, where as we do have the value for 2013 traffic)&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;I really appreciate your time and help.&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;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 18:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720533#M258766</guid>
      <dc:creator />
      <dc:date>2014-07-23T18:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720534#M258767</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;Sorry for the delay in reply.&lt;/P&gt;&lt;P&gt;Had left from Office.&lt;/P&gt;&lt;P&gt;PFA the QVW file with the revised formulae.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier I had not taken into account the fact that &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;the first day of the week shows the traffic for whole week&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if still you face any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 19:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720534#M258767</guid>
      <dc:creator />
      <dc:date>2014-07-23T19:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720535#M258768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;for your help, it works perfectly fine.However i have 2 last things i want to know,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1) if you look at the attached file in the facts tab i have added sales too but looks like some cross join is happening which is giving wrong values, so can you please help me in changing my load script such that i can add multiple facts to a single one and join them?I just have traffic and sales added for now but i have to add more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) the below set analysis&lt;/P&gt;&lt;P&gt;sum({&amp;lt;TransactionChannelDesc ={POS},TransactionTypeId = {1}&amp;gt;}[Units])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives me the units for POS and tran type 1 what ever we select, however this one will be just for a single day, Can you please help me in creating a MTD for this one?I know i can use the traffic logic, but i am not sure how to embed the current one to that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can help me with these 2 it would be really great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 20:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720535#M258768</guid>
      <dc:creator />
      <dc:date>2014-07-23T20:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720536#M258769</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;For the second one, you can use the below set analysis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;TransactionChannelDesc ={POS},TransactionTypeId = {1}, [Date ID]={"&amp;gt;=$(vStartMTD)&amp;lt;=$(vEndDate)"}&amp;gt;}[Units])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I however did not get your first question and the file that you have attached is very big and i am not able to download it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sabal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 20:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720536#M258769</guid>
      <dc:creator />
      <dc:date>2014-07-23T20:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720537#M258770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi Sabal,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My first question was basically , below is the current script in the facts tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Date Id],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Traffic],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Loc #]&lt;/P&gt;&lt;P&gt;FROM C:\Qlikview\Data\QVD\Transform\StoreTraffic_LocWk.qvd (Qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this gives us the traffic,now i want to add one more fact to this one and the way i coded was &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Date Id] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Loc #],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [TransactionTypeId],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [TransactionChannelDesc],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Transaction Count],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Units],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Gross $],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Discount $],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Net $],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Cost $],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Margin $]&lt;/P&gt;&lt;P&gt;FROM C:\Qlikview\Data\QVD\Transform\Sales_LocWk.qvd (Qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join(Sales)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Date Id],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Traffic],&lt;/P&gt;&lt;P&gt;[Loc #]&lt;/P&gt;&lt;P&gt;FROM C:\Qlikview\Data\QVD\Transform\StoreTraffic_LocWk.qvd (Qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this one if i select SUM(Traffic) its giving me a huge value because it looks like its doing dome cross join and everything.So, can you please help me in writing the load script such that all the facts go into a single table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 20:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720537#M258770</guid>
      <dc:creator />
      <dc:date>2014-07-23T20:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720538#M258771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get a chance to look at the issue i had?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 23:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720538#M258771</guid>
      <dc:creator />
      <dc:date>2014-07-23T23:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720539#M258772</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;As I said, I am not able to download your file because of its size.&lt;/P&gt;&lt;P&gt;Can you attach the QVD file: "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sales_LocWk.qvd"&lt;/SPAN&gt; so that I can have a look?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 08:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720539#M258772</guid>
      <dc:creator />
      <dc:date>2014-07-24T08:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720540#M258773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sales_locWk QVD is also way too bigger, but i have posted the question in this forum &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/575456"&gt;Re: Re: How to join multiple facts into a single table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and may be if you can look at it it may give you some ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any questions.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 13:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720540#M258773</guid>
      <dc:creator />
      <dc:date>2014-07-24T13:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: How To Calculate Selected Date, Last year date, MTD,YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720541#M258774</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;You will have to use Join only, concatenate would not work in your case.&lt;/P&gt;&lt;P&gt;And to correct the Traffic value, you can use a counter in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sales_LocWk.qvd" and divide the value of Traffic by this counter to get the correct value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach the same qvw by doing a join between the 2 qvd files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2014 17:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-To-Calculate-Selected-Date-Last-year-date-MTD-YTD/m-p/720541#M258774</guid>
      <dc:creator />
      <dc:date>2014-07-24T17:13:34Z</dc:date>
    </item>
  </channel>
</rss>

