<?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: Sum last year until current calendarweek in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650223#M669404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Looks good. But does not work yet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 13:56:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-17T13:56:22Z</dc:date>
    <item>
      <title>Sum last year until current calendarweek</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650221#M669401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to compare the following values in a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are my formulas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Sum of my sales of the current year:&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;Year={$(VmaxYear)}&amp;gt;} ([Sales]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Sum of my sales of the last year:&lt;/P&gt;&lt;P&gt;Sum ({&amp;lt;Year={$(VPrevYear)}&amp;gt;} ([Sales]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT for last year only until the current week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I have to script this? I was thinking about defining a variable that is then inserted into the "Sum ({&amp;lt;Year={$(VPrevYear)}&amp;gt;} ([Sales]))" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 12:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650221#M669401</guid>
      <dc:creator />
      <dc:date>2014-10-17T12:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum last year until current Kalenderweek</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650222#M669402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Perhaps this: Sum ({&amp;lt;Jahr={$(VVorjahr)}, Woche={'&amp;lt;=$(=max({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jahr={$(VmaxJahr)}&lt;/SPAN&gt;&amp;gt;}Woche)'}))&amp;gt;} ([Sales]))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650222#M669402</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-17T13:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum last year until current calendarweek</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650223#M669404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Looks good. But does not work yet...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-last-year-until-current-calendarweek/m-p/650223#M669404</guid>
      <dc:creator />
      <dc:date>2014-10-17T13:56:22Z</dc:date>
    </item>
  </channel>
</rss>

