<?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: How to calculate previous week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325182#M842707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i didn't really understand your needs&lt;/P&gt;&lt;P&gt;May be it will helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Apr 2017 18:16:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-16T18:16:11Z</dc:date>
    <item>
      <title>How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325174#M842699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to show previous week's data from the attached QVD based on the current date, means current date's previous week will be calculated and data will have to be shown according to that week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to achieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandip &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/How-to-calculate-previous-week/m-p/1325174#M842699</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325175#M842700</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;When you say current date based on data, do you mean the max date ? because in your data you don't have 2017...&lt;/P&gt;&lt;P&gt;So If i understanfd you want the previous week of max date's data. In that case may be week(max(orderdate))-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 08:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325175#M842700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-16T08:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325176#M842701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;your expression is wrong and it gives me no data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 08:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325176#M842701</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2017-04-16T08:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325177#M842702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally, You want to do this in Script level. Here, Which date you meant to say - 27/12/2015 ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 08:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325177#M842702</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-16T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325178#M842703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, based on the order date. So if I choose 27/12/2015, then it will show the sum(slaes vales) based on the previous week of the selected date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please suggest a way of how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 09:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325178#M842703</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2017-04-16T09:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325179#M842704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this in &lt;STRONG&gt;straight table&lt;/STRONG&gt; with dim as&lt;STRONG&gt; [Order Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Order Date] = {'$(=Date(Max([Order Date])-7))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 12:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325179#M842704</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-04-16T12:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325180#M842705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in SCRIPT:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Week&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Order Date]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;-7),'00')&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;AS&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;_WEEK&lt;/SPAN&gt;&lt;SPAN lang="EN-US" 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>Sun, 16 Apr 2017 16:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325180#M842705</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-04-16T16:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325181#M842706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below and qvw attached. Any good?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qvw screenshot.GIF" class="jive-image image-1" src="/legacyfs/online/160171_qvw screenshot.GIF" style="height: 317px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 17:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325181#M842706</guid>
      <dc:creator />
      <dc:date>2017-04-16T17:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325182#M842707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry i didn't really understand your needs&lt;/P&gt;&lt;P&gt;May be it will helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 18:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325182#M842707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-16T18:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325183#M842708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the attached. I have created some variables and included two text boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By selecting any date from the list box will show the sales for that date in one text box. The other text box will show the sales for the other date (7 days prior).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 02:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325183#M842708</guid>
      <dc:creator>shamitshah</dc:creator>
      <dc:date>2017-04-17T02:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325184#M842709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this for the previous week calculation based on Order Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Order Date] = {'$(=Date(Max([Order Date])-7))'}&amp;gt;}sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160212_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 10:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325184#M842709</guid>
      <dc:creator>parul_mehta</dc:creator>
      <dc:date>2017-04-17T10:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325185#M842710</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;Please check this. It works for last week calculation&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/160233_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 13:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325185#M842710</guid>
      <dc:creator>parul_mehta</dc:creator>
      <dc:date>2017-04-17T13:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous week</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325186#M842711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you had a chance to look at the replies yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 12:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-week/m-p/1325186#M842711</guid>
      <dc:creator />
      <dc:date>2017-04-20T12:09:18Z</dc:date>
    </item>
  </channel>
</rss>

