<?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 Calculate YTD and PYYTD based on current year period with takes year selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86870#M14217</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a column like Year and Date and I want to show YTD and PY YTD. I did this Scenario, the problem was it should be showing the sales based on current year period, &lt;SPAN style="text-decoration: underline;"&gt;That means the current year sales date range is 1/1/2018 to 06/26/2018, So if I select 2017 year filter it should be showing the sales between the above date range only&lt;/SPAN&gt;. Please check given excel and give some clues&lt;/P&gt;&lt;P&gt;my expression for getting Sales is&lt;/P&gt;&lt;P&gt;For Current Year:&amp;nbsp; Sum({&amp;lt;Year={"=$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;For Previous Year : Sum({&amp;lt;Year={"$(=Max(Year)-1)"},Date={"&amp;lt;=$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 12:18:58 GMT</pubDate>
    <dc:creator>Gopi_E</dc:creator>
    <dc:date>2018-06-27T12:18:58Z</dc:date>
    <item>
      <title>Calculate YTD and PYYTD based on current year period with takes year selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86870#M14217</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a column like Year and Date and I want to show YTD and PY YTD. I did this Scenario, the problem was it should be showing the sales based on current year period, &lt;SPAN style="text-decoration: underline;"&gt;That means the current year sales date range is 1/1/2018 to 06/26/2018, So if I select 2017 year filter it should be showing the sales between the above date range only&lt;/SPAN&gt;. Please check given excel and give some clues&lt;/P&gt;&lt;P&gt;my expression for getting Sales is&lt;/P&gt;&lt;P&gt;For Current Year:&amp;nbsp; Sum({&amp;lt;Year={"=$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;For Previous Year : Sum({&amp;lt;Year={"$(=Max(Year)-1)"},Date={"&amp;lt;=$(=Max(Date))"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86870#M14217</guid>
      <dc:creator>Gopi_E</dc:creator>
      <dc:date>2018-06-27T12:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate YTD and PYYTD based on current year period with takes year selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86871#M14218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, if you select 2017, you would want to see 1/1/2017 to 06/28/2017 for Current Year expression or Previous Year expression? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86871#M14218</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-27T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate YTD and PYYTD based on current year period with takes year selections</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86872#M14219</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;Sorry for late reply, Here I want to see both years based on current year YTD, For Example, if I click 2017 it will show 2017 and 2016 sales, and it should return sales between as you mentioned dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2018 05:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-YTD-and-PYYTD-based-on-current-year-period-with-takes/m-p/86872#M14219</guid>
      <dc:creator>Gopi_E</dc:creator>
      <dc:date>2018-07-29T05:21:14Z</dc:date>
    </item>
  </channel>
</rss>

