<?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 Calculating YTD and MTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1818494#M1213230</link>
    <description>&lt;P&gt;Hi ..all&lt;/P&gt;&lt;P&gt;The below is the sample data set / format&amp;nbsp; i have ..what is my expression like in straight table if i will to get my YTD and MTD&amp;nbsp; SalesAmount ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoice date&amp;nbsp; &amp;nbsp; &amp;nbsp;SaleAmount&lt;/P&gt;&lt;P&gt;1/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4568&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;1/6/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1234&lt;/P&gt;&lt;P&gt;2/6/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4321&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;29/6/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8888&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 09:10:54 GMT</pubDate>
    <dc:creator>limfungkeat</dc:creator>
    <dc:date>2021-06-29T09:10:54Z</dc:date>
    <item>
      <title>Calculating YTD and MTD</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1818494#M1213230</link>
      <description>&lt;P&gt;Hi ..all&lt;/P&gt;&lt;P&gt;The below is the sample data set / format&amp;nbsp; i have ..what is my expression like in straight table if i will to get my YTD and MTD&amp;nbsp; SalesAmount ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoice date&amp;nbsp; &amp;nbsp; &amp;nbsp;SaleAmount&lt;/P&gt;&lt;P&gt;1/1/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4568&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;1/6/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1234&lt;/P&gt;&lt;P&gt;2/6/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4321&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;29/6/2021&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8888&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 09:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1818494#M1213230</guid>
      <dc:creator>limfungkeat</dc:creator>
      <dc:date>2021-06-29T09:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating YTD and MTD</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1818813#M1213260</link>
      <description>&lt;P&gt;In Script add new&amp;nbsp; :&lt;/P&gt;&lt;P&gt;Year(&lt;SPAN&gt;Invoice date) as&amp;nbsp;Cal_Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Month(Invoice date) as Cal_Month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;YTD:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Cal_Year={&lt;STRONG&gt;&lt;EM&gt;$(=Max(Cal_Year))&lt;/EM&gt;&lt;/STRONG&gt;},Cal_Month= {"&amp;lt;=$(=max( Cal_Month))"}&amp;gt;}&lt;SPAN&gt;SaleAmount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MTD:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Cal_Month= {"=$(=max( Cal_Month))"}&amp;gt;}SaleAmount&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 10:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1818813#M1213260</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2021-06-30T10:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating YTD and MTD</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1819309#M1213309</link>
      <description>&lt;P&gt;Thanks Dinesm030. Figures are shown now ..but the YTD and MTD is the same ..i wonder where goes wrong ...hmmmm&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-YTD-and-MTD/m-p/1819309#M1213309</guid>
      <dc:creator>limfungkeat</dc:creator>
      <dc:date>2021-07-02T09:08:26Z</dc:date>
    </item>
  </channel>
</rss>

