<?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: Cy vs PY in Search the Community</title>
    <link>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798685#M268</link>
    <description>&lt;P&gt;You can use Addyears function in your vDateStart and vDateEnd.&lt;BR /&gt;&lt;BR /&gt;Addyears(vDateStart,-1)&lt;BR /&gt;Addyears(vDateEnd,-1)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;it will return the start and end dates of&amp;nbsp; the same period of last year&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 09:28:11 GMT</pubDate>
    <dc:creator>MuhammadFahim</dc:creator>
    <dc:date>2021-04-12T09:28:11Z</dc:date>
    <item>
      <title>Cy vs PY</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798669#M266</link>
      <description>&lt;P&gt;Hi Guys, how do I write this formula to show the previous years data? This is my current year selection. I want to show how the data looked exactly the same time last year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WernerDC_0-1618217785635.png" style="width: 804px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52786i2EFAE99713451742/image-dimensions/804x139?v=v2" width="804" height="139" role="button" title="WernerDC_0-1618217785635.png" alt="WernerDC_0-1618217785635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 08:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798669#M266</guid>
      <dc:creator>WernerDC</dc:creator>
      <dc:date>2021-04-12T08:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cy vs PY</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798685#M268</link>
      <description>&lt;P&gt;You can use Addyears function in your vDateStart and vDateEnd.&lt;BR /&gt;&lt;BR /&gt;Addyears(vDateStart,-1)&lt;BR /&gt;Addyears(vDateEnd,-1)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;it will return the start and end dates of&amp;nbsp; the same period of last year&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 09:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798685#M268</guid>
      <dc:creator>MuhammadFahim</dc:creator>
      <dc:date>2021-04-12T09:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cy vs PY</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798694#M270</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 09:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798694#M270</guid>
      <dc:creator>WernerDC</dc:creator>
      <dc:date>2021-04-12T09:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cy vs PY</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798697#M271</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28752"&gt;@WernerDC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of If condition, Try with set analysis like below&lt;/P&gt;&lt;P&gt;sum({&amp;lt;dateEntry_det={"&amp;gt;=$(=AddYears($(vDateStart),-1))&amp;lt;=$(=AddYears($(vDateEnd),-1))"}, serviceCode_det={30}&amp;gt;}qtyHa_det)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 09:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798697#M271</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-12T09:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cy vs PY</title>
      <link>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798724#M272</link>
      <description>&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 11:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Search-the-Community/Cy-vs-PY/m-p/1798724#M272</guid>
      <dc:creator>WernerDC</dc:creator>
      <dc:date>2021-04-12T11:34:42Z</dc:date>
    </item>
  </channel>
</rss>

