<?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 Same day last year problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344267#M832036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein i got to get the sum of values starting from same day last year + 60 days in last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example today is 06/09/2017 so i need to get sum(value) from 06/09/2016 till 09/07/2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Anupama Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Same day last year problem</title>
      <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344267#M832036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein i got to get the sum of values starting from same day last year + 60 days in last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example today is 06/09/2017 so i need to get sum(value) from 06/09/2016 till 09/07/2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Anupama Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344267#M832036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Same day last year problem</title>
      <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344268#M832037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: Arial; color: #737373;"&gt;sum({&amp;lt; date_field={'&amp;lt;=$(#=vInitialDate)&amp;gt;=&lt;SPAN style="color: #737373; font-family: Arial; font-size: 13px;"&gt;$(#=vFinalDate)&lt;/SPAN&gt;'}&amp;gt;} sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: Arial; color: #737373;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: Arial; color: #737373;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: Arial; color: #737373;"&gt;, where:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: Arial; color: #737373;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 13px; font-family: Arial;"&gt;vInitialDate = AddMonths(Today(), -12)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 13px; font-family: Arial;"&gt;vFinalDate = AddMonths(Today(), -12) + 60&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 13px; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 13px; font-family: Arial;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-size: 13px; font-family: Arial;"&gt;H&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344268#M832037</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-06-09T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Same day last year problem</title>
      <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344269#M832038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({&amp;lt;DateFieldName = {'&amp;gt;=$(=AddYears(Today(),-1))&amp;lt;=$(=Date(AddYears(Today(),-1)+60))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344269#M832038</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-06-09T12:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Same day last year problem</title>
      <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344270#M832039</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;Look attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344270#M832039</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-09T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Same day last year problem</title>
      <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344271#M832040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try -60 from above examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 15:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1344271#M832040</guid>
      <dc:creator>tajmohamed30</dc:creator>
      <dc:date>2017-06-09T15:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Same day last year problem</title>
      <link>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1622655#M832041</link>
      <description>&lt;P&gt;...a word of caution - in my experience the AddYears and AddMonths functions often do not work effectively for leap years (ie. where 29th Feb is involved). I prefer to work out the same day last year using the same weekday and same week number from the previous year.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 13:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Same-day-last-year-problem/m-p/1622655#M832041</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2019-09-11T13:46:41Z</dc:date>
    </item>
  </channel>
</rss>

