<?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 Week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131743#M371969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attached excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2016 14:32:28 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2016-06-28T14:32:28Z</dc:date>
    <item>
      <title>Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131734#M371960</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 week column from excel and i have&amp;nbsp; sales and super sales... Now i need show data for previous week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula for calculating is sales/supersales for previous week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131734#M371960</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2016-06-28T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131735#M371961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have week as number in Excel upto current week&lt;/P&gt;&lt;P&gt;you Need this Expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;yourweekfield={'$(=max()yourweekfield)'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;if you have not only actual year you Need mroe set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131735#M371961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T13:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131736#M371962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DateField,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Autonumber(Weekstart(DateField), 'Week') as Week&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateField&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... FROM .....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Expressions Are:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; 1) &lt;SPAN style="font-family: inherit; font-size: 13.3333px; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;=Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateField &lt;/SPAN&gt;= {'$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateField&lt;/SPAN&gt;)-1)'}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131736#M371962</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-06-28T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131737#M371963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;yourweekfield={'$(=max(yourweekfield)-1)'}&amp;gt;}sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 13:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131737#M371963</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131738#M371964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate sales/supersales which should display data for last week.. i m displaying in barchart and it should happen without filters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131738#M371964</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2016-06-28T14:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131739#M371965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is your Dimension? weekfield&lt;/P&gt;&lt;P&gt;and your Expression?&lt;/P&gt;&lt;P&gt;and your data from Excel contains data sales/supersales from this year&lt;/P&gt;&lt;P&gt;so you may use my Expression: sum({&amp;lt;yourweekfield={'$(=max(yourweekfield)-1)'}&amp;gt;}sales/supersales)&lt;/P&gt;&lt;P&gt;or you define a calulated Dimension: if (yourweekfield = week(today()-1, yourweekfield) and&lt;/P&gt;&lt;P&gt;Expression sum(sales/supersales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131739#M371965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T14:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131740#M371966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have given the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Week={'$(max(Week)-1)'}&amp;gt;}Sales/SuperSales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am getting the value as 0. Can you please let me know if i missed something..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension i have taken as Brand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131740#M371966</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2016-06-28T14:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131741#M371967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give me some figures so i can try a small sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131741#M371967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131742#M371968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry Little mistake (equal sign was missing before max)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Week={'$(=max(Week)-1)'}&amp;gt;}Sales/SuperSales&lt;/P&gt;&lt;P&gt;I defined inline table and defined Week as Dimension and above expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sales:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Week, Sales, Supersales&lt;BR /&gt; 24, 100, 10&lt;BR /&gt; 24, 150, 5&lt;BR /&gt; 25, 200, 10&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129406_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131742#M371968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T14:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131743#M371969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attached excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131743#M371969</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2016-06-28T14:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131744#M371970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your weekfield is a datefield, so you Need to define a new field&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sales:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Brand, Week, Sales, SuperSales&lt;BR /&gt; A, 12.07.2015, 2836, 118&lt;BR /&gt; A, 14.12.2015, 2242, 106&lt;BR /&gt; A, 21.12.2015, 3751, 147&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Sales)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekNr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sales; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;then you can use this Expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekNr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(=max(WeekNr)-1)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SuperSales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;you my use eitehr Week&amp;nbsp; or WeekNr as dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129426_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if you use a mastercalendar (the best choice anyway) you may Need the weekfield from mastercalendar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131744#M371970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T14:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131745#M371971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131745#M371971</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2016-06-28T14:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Week</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131746#M371972</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;In scripting,&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD Brand, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Super Sales],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(Week) as WeekNum&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In expression,&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;weeknum={'$(=max(weeknum)-1)'}&amp;gt;}Sales/[Super Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Joyson G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Week/m-p/1131746#M371972</guid>
      <dc:creator />
      <dc:date>2016-06-28T14:48:38Z</dc:date>
    </item>
  </channel>
</rss>

