<?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: How to calculate YTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218331#M389942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this should do it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150509_Capture.PNG" style="height: 245px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 15:45:38 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-23T15:45:38Z</dc:date>
    <item>
      <title>How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218324#M389935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;Hi Guys,&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I have a requirement that i need to calculate YTD for a data&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Year To Date (YTD):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Dimensions: &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;Year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to &lt;STRONG&gt;show&lt;/STRONG&gt; all the &lt;STRONG&gt;Year &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose if i click Year =2013 &amp;amp; Month= Jun , The chart has to show like sum(sales) from Jan to Jun for all the year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i.e.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 2013 = Jan to Jun&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 2012 = Jan to Jun&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; 2011 = Jan to Jun&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached the sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 14:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218324#M389935</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T14:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218325#M389936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on dimension you have shared in excel i.e. YearMonth&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;YearMonth = {"&amp;lt;=$(=Max(YearMonth))"},Year = {$(=Max(Year))} &amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218325#M389936</guid>
      <dc:creator>girirajsinh</dc:creator>
      <dc:date>2017-01-23T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218326#M389937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month, Year, &lt;STRONG style="font-size: 13.3333px;"&gt;YearMonth&lt;/STRONG&gt;, MonthNum = {"$(='&amp;gt;=1&amp;lt;=' &amp;amp; Max(MonthNum))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where MonthNum is created in script like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD YearMonth,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Year(YearMonth) as Year,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Month(YearMonth) as Month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Num(Month(YearMonth)) as MonthNum,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[SAMPLE.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150504_Capture.PNG" style="height: 356px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218326#M389937</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T15:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218327#M389938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Guys &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I missed a important thing in my requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This YTD calculation of current Year YTD vs Previous Year YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;formula is : (Current Year YTD - Previous Year YTD) / &lt;SPAN style="font-size: 13.3333px;"&gt;Previous Year YTD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Current Year YTD :&amp;nbsp; 2013 (Jan - Sep)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Previous Year YTD&lt;/SPAN&gt;: 2012 (Jan - Sep)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and values should be plotted in 2013 like for others years&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:21:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218327#M389938</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218328#M389939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is similar to&amp;nbsp; previous&amp;nbsp; as you helped me last time but this time in year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;have a look in the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This YTD calculation of current Year YTD vs Previous Year YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;formula is : (Current Year YTD - Previous Year YTD) / &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Previous Year YTD&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Current Year YTD :&amp;nbsp; 2013 (Jan - Sep)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Previous Year YTD&lt;/SPAN&gt;: 2012 (Jan - Sep)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and values should be plotted in 2013 like for others years&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218328#M389939</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T15:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218329#M389940</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;(Sum({&amp;lt;Month, Year, YearMonth, MonthNum = {"$(='&amp;gt;=1&amp;lt;=' &amp;amp; Max(MonthNum))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Above(Sum({&amp;lt;Month, Year, YearMonth, MonthNum = {"$(='&amp;gt;=1&amp;lt;=' &amp;amp; Max(MonthNum))"}&amp;gt;}Sales)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Above(Sum({&amp;lt;Month, Year, YearMonth, MonthNum = {"$(='&amp;gt;=1&amp;lt;=' &amp;amp; Max(MonthNum))"}&amp;gt;}Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDITED : Haven't created whole expression myself. I have used expression from &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌'s reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218329#M389940</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-01-23T15:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218330#M389941</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;(Sum({&amp;lt; MonthNum = {"&amp;lt;=$(=Max(MonthNum))"}, Year = {$(=Max(Year))}, Month= , YearMonth=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; MonthNum = {"&amp;lt;=$(=Max(MonthNum))"}, Year = {$(=Max(Year)-1)}, Month= &lt;SPAN style="font-size: 13.3333px;"&gt;, YearMonth=&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt; MonthNum = {"&amp;lt;=$(=Max(MonthNum))"}, Year = {$(=Max(Year)-1)}, Month= &lt;SPAN style="font-size: 13.3333px;"&gt;, YearMonth=&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218330#M389941</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2017-01-23T15:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218331#M389942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this should do it....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150509_Capture.PNG" style="height: 245px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218331#M389942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T15:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218332#M389943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your expression is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but only one when i click on 2012 it is still showing the 2013 value also&lt;/P&gt;&lt;P&gt;i.e., if i click on 2013 the bar chart will 2011 to 2013&lt;/P&gt;&lt;P&gt;if i click on 2012 the bar chart has to display 2011 to 2012 but not 2011 to 2013&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218332#M389943</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T16:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218333#M389944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait what? You have completely confused me Hemanth....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you click on 2013 you want 2013/2011 - 1&lt;/P&gt;&lt;P&gt;and when you click on 2012 you want 2012/2011 - 1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218333#M389944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T16:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218334#M389945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your expression to working fine and view also as per my requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but only one thing is no change in previous years&lt;/P&gt;&lt;P&gt;i.e Suppose if i click Year = 2013 and Month= Apr&lt;/P&gt;&lt;P&gt;previous years also has to show from same month&lt;/P&gt;&lt;P&gt;As per your expression current year is changing perfectly but there is no change in value in previous year &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218334#M389945</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T16:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218335#M389946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is changing... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150524_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output you expect when you select 2013 and April?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have not used a new expression. It is the same one as the one that Manish gave.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 16:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218335#M389946</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T16:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218336#M389947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No No sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam not saying about the formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam saying about view of bar chart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i click on&amp;nbsp; Year =2013&amp;nbsp; and month = Apr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in barchart: &lt;/P&gt;&lt;P&gt; 2011(Jan- Apr) ,2012 (Jan- Apr), 2013(Jan - Apr) that means three bars has to come out in the chart &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if i click on&amp;nbsp; Year =2012&amp;nbsp; and month = Apr&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;in barchart&amp;nbsp; :&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2011(Jan- Apr) ,2012 (Jan- Apr),&amp;nbsp; that means two bars has to come out in chart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218336#M389947</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T17:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218337#M389948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look on the attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chart the expression give required values but only one draw back is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i click on Year =2012 In the bar chart 2013 also visible which i dnt want to show in bar chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e, &lt;/P&gt;&lt;P&gt;when click on&amp;nbsp; year= 2013 and month =Jun&lt;/P&gt;&lt;P&gt;bars in the chart should &lt;/P&gt;&lt;P&gt;2013= jan to jun sum(sales)&lt;/P&gt;&lt;P&gt;2012 = jan to jun &lt;SPAN style="font-size: 13.3333px;"&gt;sum(sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2011= jan to jun &lt;SPAN style="font-size: 13.3333px;"&gt;sum(sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when click on year =2012 and month = jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bar in the chart &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2012 = jan to jun &lt;SPAN style="font-size: 13.3333px;"&gt;sum(sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2011= jan to jun &lt;SPAN style="font-size: 13.3333px;"&gt;sum(sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218337#M389948</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T17:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218338#M389949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(Sum({&amp;lt;Month, Year, YearMonth, MonthNum = {"$(='&amp;gt;=1&amp;lt;=' &amp;amp; Max(MonthNum))"}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Above(Sum({&amp;lt;Month, Year, YearMonth, MonthNum = {"$(='&amp;gt;=1&amp;lt;=' &amp;amp; Max(MonthNum))"}&amp;gt;}Sales)))-1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218338#M389949</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T17:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218339#M389950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I that bar chart if u observe in the screen shot&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150525_1.PNG" style="height: 232px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/150526_2.PNG" style="height: 239px; width: 620px;" /&gt;&lt;IMG alt="3.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/150530_3.PNG" style="height: 228px; width: 620px;" /&gt;I think no sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the First &amp;amp; Second screen shot 2011 &amp;amp; 2012&amp;nbsp; values are same which is to be not like that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My required r expect output is it has to change based on the selection month in all charts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As in Manish expression it is changing but only one thing when i select on 2012 but it still displaying the 2013 too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218339#M389950</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218340#M389951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you seeing this? In the file that i attached? I see this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150532_Capture.PNG" style="height: 237px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/150533_Capture.PNG" style="height: 211px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/150534_Capture.PNG" style="height: 233px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218340#M389951</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-23T17:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218341#M389952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly Sunny ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much Sunny&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheersss...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218341#M389952</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T17:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate YTD</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218342#M389953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah I was a bit delay in finding the new attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i was about to explain you a bit clear in that mean time you solved it and posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Sunny,&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 17:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-YTD/m-p/1218342#M389953</guid>
      <dc:creator>hemanthaanichet</dc:creator>
      <dc:date>2017-01-23T17:44:49Z</dc:date>
    </item>
  </channel>
</rss>

