<?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: MTD &amp; LTD in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541474#M202422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use pivot table with two expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTD:&lt;/P&gt;&lt;P&gt;rangesum(above(sum(Value),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jan 2014 20:16:24 GMT</pubDate>
    <dc:creator>iktrayanov</dc:creator>
    <dc:date>2014-01-01T20:16:24Z</dc:date>
    <item>
      <title>MTD &amp; LTD in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541472#M202420</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;Happy new year to everyone!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have req. as below and I need some help in this.&lt;/P&gt;&lt;P&gt;I have certain fields like Product,number,values,id,date,cal_month fields.&lt;/P&gt;&lt;P&gt;I need to calculate the MTD and LTD formulae’s with respect selection and without selection in front end level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;If I am selecting the particular month it has to show the values with that particular month like values upto that month(Live Till Date) and values(MTD i.e only that particular month) in one chart &lt;/LI&gt;&lt;LI&gt;2.If am not selecting any list box it has to values LTD(till the date) and MTD(only current month) in one chart.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz find the attached sample data and I am unable to attach the original data.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ravi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jan 2014 16:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541472#M202420</guid>
      <dc:creator />
      <dc:date>2014-01-01T16:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: MTD &amp; LTD in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541473#M202421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;LTD:&lt;BR /&gt;= sum(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt; Revenue_Date= {"&amp;gt;=$(=Date(YearStart(min({1}Revenue_Date))))&amp;lt;=$(=max(Revenue_Date))" }, Revenue_Week= , Revenue_Quarter=, Revenue_Month= &amp;gt;}&lt;BR /&gt; GrossRevenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD:&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;= sum(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt; Revenue_Date= {"&amp;gt;=$(=Date(MonthStart(Max(Revenue_Date))))&amp;lt;=$(=max(Revenue_Date))" }, Revenue_Week= ,Revenue_Year=, Revenue_Quarter= &amp;gt;}&lt;BR /&gt; GrossRevenue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN dir="ltr"&gt;Nirav Bhimani&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jan 2014 18:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541473#M202421</guid>
      <dc:creator>nirav_bhimani</dc:creator>
      <dc:date>2014-01-01T18:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: MTD &amp; LTD in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541474#M202422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use pivot table with two expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTD:&lt;/P&gt;&lt;P&gt;rangesum(above(sum(Value),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jan 2014 20:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LTD-in-set-analysis/m-p/541474#M202422</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2014-01-01T20:16:24Z</dc:date>
    </item>
  </channel>
</rss>

