<?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: YTD based on the selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585601#M217313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA sample will help you to arrive the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 07:39:41 GMT</pubDate>
    <dc:creator>vikasmahajan</dc:creator>
    <dc:date>2014-02-14T07:39:41Z</dc:date>
    <item>
      <title>YTD based on the selection</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585600#M217312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to be able to compare last years data and this years data based on current selections.&amp;nbsp; Meaning that if I select 2013 and February, I will compare January + February this year against January and February last Year.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can anyone tell what is the expression for this?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Soumya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 07:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585600#M217312</guid>
      <dc:creator />
      <dc:date>2014-02-14T07:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: YTD based on the selection</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585601#M217313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA sample will help you to arrive the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 07:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585601#M217313</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-02-14T07:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: YTD based on the selection</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585602#M217314</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Current Year&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;Year&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DimensionName&lt;/SPAN&gt;=, Month&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DimensionName&lt;/SPAN&gt;= Quarter&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DimensionName&lt;/SPAN&gt;=, DateDimensionName={'&amp;gt;=$(=Year(Max(DateDimensionName)))&amp;lt;=$(=Date(Max(DateDimensionName)))'}&amp;gt;}SALES_VALUE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For previous year &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum({$&amp;lt;Year&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DimensionName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=, Month&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DimensionName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;= Quarter&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;DimensionName&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;=, DateDimensionName={'&amp;gt;=$(=YearStart(Max(DateDimensionName), -1))&amp;lt;=$(=AddYears(Max(DateDimensionName), -1))'}&amp;gt;}SALES_VALUE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 07:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-based-on-the-selection/m-p/585602#M217314</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-14T07:49:05Z</dc:date>
    </item>
  </channel>
</rss>

