<?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: Calculating YTD and MTD in Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459980#M697424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't want to use set analysis. I have to calculate in Load it self and store it in CSV directly.&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;Selva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2013 12:11:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-20T12:11:39Z</dc:date>
    <item>
      <title>Calculating YTD and MTD in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459978#M697422</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;Is thee any way to calculate the YTD in Load Script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have calculate the daily slaes like below,&lt;/P&gt;&lt;P&gt;FinalSales:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE(SALESDATE,'DD/MM/YYYY')AS SALESDATE,&lt;/P&gt;&lt;P&gt;sum(STORE_SALES_AMT_CY) as DailySales&lt;/P&gt;&lt;P&gt;resident Fact_Sales group by SALESDATE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to calculate the YTD and MTD for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATE(SALESDATE,'DD/MM/YYYY')AS SALESDATE,&lt;/P&gt;&lt;P&gt;sum(STORE_SALES_AMT_CY) as YTD&lt;/P&gt;&lt;P&gt;resident Fact_Sales where min date in that year to Max date in that year group by SALESDATE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 11:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459978#M697422</guid>
      <dc:creator />
      <dc:date>2013-03-20T11:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating YTD and MTD in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459979#M697423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.qlik.com/message/82373#82373"&gt;here&lt;/A&gt;. Once you've calculated the YTD and MTD flags you can also calculate the sums in the script if you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 12:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459979#M697423</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-03-20T12:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating YTD and MTD in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459980#M697424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't want to use set analysis. I have to calculate in Load it self and store it in CSV directly.&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;Selva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 12:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD-in-Load-Script/m-p/459980#M697424</guid>
      <dc:creator />
      <dc:date>2013-03-20T12:11:39Z</dc:date>
    </item>
  </channel>
</rss>

