<?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: Previous YTD Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77128#M607715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you making a selection in the year field or yearmonth or something related?? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;SalesDate = {"&amp;gt;=$(=Date(YearStart(Today(), -1), 'M/D/YYYY'))&amp;lt;=$(=Date(AddYears(Today(), -1), 'M/D/YYYY'))"}&lt;SPAN style="color: #ff0000;"&gt;, Year, Month, MonthYear, Quarter, QuarterYear&lt;/SPAN&gt;&amp;gt;} InvoiceSales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Feb 2018 13:26:33 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-02-24T13:26:33Z</dc:date>
    <item>
      <title>Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77123#M607710</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;Here’s the question I had about qlikview. I want to calculate Previous YTD (Same time frame as the current year) however, whenever I reload my data, the Prev YTD column stays static and the current year data changes based on the new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect the Prev YTD column to look back in time and fetch data for the same time frame as last year and keep accumulating each time I reload data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using something like below , but looks like it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SalesDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'&amp;gt;=$(=AddYears(YearStart(Today()),-1))&amp;lt;=$(=AddYears(Date(Today()),-1))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;InvoiceSales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 08:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77123#M607710</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2018-02-23T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77124#M607711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77124#M607711</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2018-02-23T10:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77125#M607712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;SalesDate = {"&amp;gt;=$(=Date(YearStart(Today(), -1), 'DateFieldFormatHere'))&amp;lt;=$(=&lt;STRONG&gt;Date(&lt;/STRONG&gt;AddYears(Today(), -1), 'DateFieldFormatHere'))"}&amp;gt;} InvoiceSales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 12:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77125#M607712</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-23T12:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77126#M607713</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;I tried below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SalesDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(YearStart(Today(), -1), 'M/D/YYYY'))&amp;lt;=$(=Date(AddYears(Today(), -1), 'M/D/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;InvoiceSales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Sorry no luck!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;AS&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 04:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77126#M607713</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2018-02-24T04:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77127#M607714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SalesDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;gt;=$(=Date(YearStart(max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SalesDate)&lt;/SPAN&gt;, -1), 'M/D/YYYY'))&amp;lt;=$(=Date(AddYears(max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;SalesDate)&lt;/SPAN&gt;, -1), 'M/D/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;InvoiceSales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 09:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77127#M607714</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-02-24T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77128#M607715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you making a selection in the year field or yearmonth or something related?? May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;SalesDate = {"&amp;gt;=$(=Date(YearStart(Today(), -1), 'M/D/YYYY'))&amp;lt;=$(=Date(AddYears(Today(), -1), 'M/D/YYYY'))"}&lt;SPAN style="color: #ff0000;"&gt;, Year, Month, MonthYear, Quarter, QuarterYear&lt;/SPAN&gt;&amp;gt;} InvoiceSales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 13:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77128#M607715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-24T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Previous YTD Help</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77129#M607716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 09:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-YTD-Help/m-p/77129#M607716</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2018-02-28T09:09:07Z</dc:date>
    </item>
  </channel>
</rss>

