<?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: compare current date with previous year date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1634823#M732205</link>
    <description>&lt;P&gt;i have solved it by creating 4 variables like:&lt;/P&gt;&lt;P&gt;currentyearstart=2019-01-01&lt;/P&gt;&lt;P&gt;currentyearend=2019-12-31&lt;/P&gt;&lt;P&gt;previousyearstart=2018-01-01&lt;/P&gt;&lt;P&gt;previousyearend=2018-12-31&lt;/P&gt;&lt;P&gt;and attached calendar to it&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 12:12:53 GMT</pubDate>
    <dc:creator>riishabhz</dc:creator>
    <dc:date>2019-10-14T12:12:53Z</dc:date>
    <item>
      <title>compare current date with previous year date</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632836#M732200</link>
      <description>&lt;P&gt;hello everyone&lt;/P&gt;&lt;P&gt;i have date column names as date in the format of yyyy-mm-dd&lt;/P&gt;&lt;P&gt;and it consist of date ranging from 2017-01-01 till today that is 2019-10-09&lt;/P&gt;&lt;P&gt;now i want to compare sum(sales) of today with last year&lt;/P&gt;&lt;P&gt;for ex:-&lt;/P&gt;&lt;P&gt;date&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; sales| lastyear|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sales&lt;/P&gt;&lt;P&gt;2019-10-09| 500$ |2018-10-09| 800$&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help&amp;nbsp;&lt;/P&gt;&lt;P&gt;also i dont want to use calendar script as it is complicated&lt;/P&gt;&lt;P&gt;i want to keep it simple like set analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632836#M732200</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: compare current date with previous year date</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632839#M732201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to use Addyears(Today(),-1) in set analysis&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 07:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632839#M732201</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-10-09T07:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: compare current date with previous year date</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632854#M732202</link>
      <description>&lt;P&gt;hello sir&lt;/P&gt;&lt;P&gt;now date is showing of previous year but how to get sales data in it?&lt;/P&gt;&lt;P&gt;my column for sales data is sales&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 07:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632854#M732202</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2019-10-09T07:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: compare current date with previous year date</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632856#M732203</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date = {"&amp;gt;=$(=YearStart(Today(), -1)) &amp;lt;=$(=AddYears(Today(), -1))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 07:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632856#M732203</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-10-09T07:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: compare current date with previous year date</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632858#M732204</link>
      <description>&lt;P&gt;sir its showing same sales data as of today.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2019 07:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1632858#M732204</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2019-10-09T07:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: compare current date with previous year date</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1634823#M732205</link>
      <description>&lt;P&gt;i have solved it by creating 4 variables like:&lt;/P&gt;&lt;P&gt;currentyearstart=2019-01-01&lt;/P&gt;&lt;P&gt;currentyearend=2019-12-31&lt;/P&gt;&lt;P&gt;previousyearstart=2018-01-01&lt;/P&gt;&lt;P&gt;previousyearend=2018-12-31&lt;/P&gt;&lt;P&gt;and attached calendar to it&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 12:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-date-with-previous-year-date/m-p/1634823#M732205</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2019-10-14T12:12:53Z</dc:date>
    </item>
  </channel>
</rss>

