<?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 week to week differense calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566616#M1106169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody! Explored many topics with similar or alike titles but didn't find right solution. The problem is to calculate the difference between weeks in straight table. In most topics have been discussed there is a selection of 2 definite periods (usualy year to year). In my case I select 1 period (e.g. January 2014) and have to get such table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="119.39999997615814" style="border: 1px solid rgb(0, 0, 0); width: 268.39999997615814px; height: 117.39999997615814px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Week&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Growth&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;160&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;So the problem is,that I can't compute the difference between weeks in 1 month.&lt;/P&gt;&lt;P&gt;I tried formula like this:&lt;/P&gt;&lt;P&gt;= sum({$}Sales) - sum({$&amp;lt;Week={Week-1}&amp;gt;}Sales), but it didn't work. Week numbers are in my calendar. I feel that solution is simple,but can't find it. Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 07:10:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-27T07:10:21Z</dc:date>
    <item>
      <title>week to week differense calculation</title>
      <link>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566616#M1106169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody! Explored many topics with similar or alike titles but didn't find right solution. The problem is to calculate the difference between weeks in straight table. In most topics have been discussed there is a selection of 2 definite periods (usualy year to year). In my case I select 1 period (e.g. January 2014) and have to get such table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="119.39999997615814" style="border: 1px solid rgb(0, 0, 0); width: 268.39999997615814px; height: 117.39999997615814px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Week&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Growth&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;160&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;So the problem is,that I can't compute the difference between weeks in 1 month.&lt;/P&gt;&lt;P&gt;I tried formula like this:&lt;/P&gt;&lt;P&gt;= sum({$}Sales) - sum({$&amp;lt;Week={Week-1}&amp;gt;}Sales), but it didn't work. Week numbers are in my calendar. I feel that solution is simple,but can't find it. Can anybody help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 07:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566616#M1106169</guid>
      <dc:creator />
      <dc:date>2014-03-27T07:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: week to week differense calculation</title>
      <link>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566617#M1106170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;SUM(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Growth&lt;/P&gt;&lt;P&gt;SUM(Sales)-Above(SUM(&amp;lt;Month&amp;gt;Sales)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SUM(Sales)-Above(SUM(Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 07:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566617#M1106170</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-27T07:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: week to week differense calculation</title>
      <link>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566618#M1106171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per my understanding...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Sales)-above(sum(Sales))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 07:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566618#M1106171</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-03-27T07:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: week to week differense calculation</title>
      <link>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566619#M1106173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This way also was tried. But functions above() and before() can be used only in charts ot pivot tables &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 07:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566619#M1106173</guid>
      <dc:creator />
      <dc:date>2014-03-27T07:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: week to week differense calculation</title>
      <link>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566620#M1106175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Мy apologies! Guys, it works! Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 09:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/week-to-week-differense-calculation/m-p/566620#M1106175</guid>
      <dc:creator />
      <dc:date>2014-03-27T09:16:44Z</dc:date>
    </item>
  </channel>
</rss>

