<?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: Last week set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587434#M1099800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share part of the App, or some of the Data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 16:12:45 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2014-04-16T16:12:45Z</dc:date>
    <item>
      <title>Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587429#M1099795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i use the Weekstart function within a set analysis, so that only the data for last week is included? (I do &lt;STRONG style="text-decoration: underline;"&gt;not&lt;/STRONG&gt; mean the last 7 days, i mean the preceding working week.) In this case, I can't adjust my master calendar so have to make do with the CalendarDate field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Book={"EM MATCH"}&amp;gt;}PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't get my head round the correct syntax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587429#M1099795</guid>
      <dc:creator />
      <dc:date>2014-04-16T15:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587430#M1099796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try this,&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Book={"EM MATCH"},w_date = {'$(= weekstart(w_date))'}&amp;gt;}PRICE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:49:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587430#M1099796</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2014-04-16T15:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587431#M1099797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume i substitute my CalendarDate field for w_date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Book={"EM MATCH"},CalendarDate = {'$(= weekstart(CalendarDate))'}&amp;gt;}PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this did not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587431#M1099797</guid>
      <dc:creator />
      <dc:date>2014-04-16T15:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587432#M1099798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unclear how your suggestion would apply to the previous working week, which is what I need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587432#M1099798</guid>
      <dc:creator />
      <dc:date>2014-04-16T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587433#M1099799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume a -1 needs to be added to specify the previous week. Although this still doesn't work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Book={"EM MATCH"},CalendarDate = {'$(= weekstart(CalendarDate),&lt;STRONG style="text-decoration: underline;"&gt;-1&lt;/STRONG&gt;)'}&amp;gt;}PRICE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587433#M1099799</guid>
      <dc:creator />
      <dc:date>2014-04-16T16:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587434#M1099800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share part of the App, or some of the Data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587434#M1099800</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-04-16T16:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587435#M1099801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;Book={'EM MATCH'}&lt;/SPAN&gt;,&lt;STRONG&gt;[YourDateField]&lt;/STRONG&gt; = {'&amp;gt;=$(=WeekStart(Today()-7))&amp;lt;=$(=WeekEnd(Today()-7))'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;PRICE&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587435#M1099801</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-16T16:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587436#M1099802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alan, ignoring the Book field, its just a CalendarDate field and an amount field (aka PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are multiple amount entries for each date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587436#M1099802</guid>
      <dc:creator />
      <dc:date>2014-04-16T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587437#M1099803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That didn't seem to work Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587437#M1099803</guid>
      <dc:creator />
      <dc:date>2014-04-16T16:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587438#M1099804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the format of your Date Field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587438#M1099804</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-16T16:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587439#M1099805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like its&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DD-MMM-YYYY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587439#M1099805</guid>
      <dc:creator />
      <dc:date>2014-04-16T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587440#M1099806</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; font-size: 12.800000190734863px;"&gt;Try This....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;=SUM({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Book={'EM MATCH'}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[YourDateField]&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt; = {'&amp;gt;=$(=Date(WeekStart(Today()-7),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;DD-MMM-YYYY&lt;/SPAN&gt;')&amp;lt;=$(=Date(WeekEnd(Today()-7),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;DD-MMM-YYYY&lt;/SPAN&gt;')'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PRICE&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587440#M1099806</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-16T16:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587441#M1099807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again, no luck. I was trying to keep the questions as simple as possible and therefore didn't mention the IF statment at the end. Would that make a difference? This is the whole expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Book={"EM EUROBONDS VOL MATCH"},CalendarDate= {'&amp;gt;=$(=Date(WeekStart(Today()-7),'DD-MMM-YYYY')&amp;lt;=$(=Date(WeekEnd(Today()-7),'DD-MMM-YYYY')'}&amp;gt;}IF(PURCHASE_SALE='P',-NOMINAL,NOMINAL)*PRICE/100)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:39:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587441#M1099807</guid>
      <dc:creator />
      <dc:date>2014-04-16T16:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587442#M1099808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above portion is working in my apps, so there should be some problem at your end.&lt;/P&gt;&lt;P&gt;If you could able to upload your sample apps or sample data file, would be great to help you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587442#M1099808</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-16T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587443#M1099809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried that again but it just says 'No data to display'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a set of sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587443#M1099809</guid>
      <dc:creator />
      <dc:date>2014-04-17T07:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587444#M1099810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need your sample apps or sample data file..&lt;/P&gt;&lt;P&gt;it is difficult to just guess and answer your question at this stage now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587444#M1099810</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-17T07:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587445#M1099811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish, just so you know, the expression without the 'last week' part works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Book={"EM EUROBONDS VOL MATCH"}&amp;gt;}IF(PURCHASE_SALE='P',-NOMINAL,NOMINAL)*PRICE/100)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587445#M1099811</guid>
      <dc:creator />
      <dc:date>2014-04-17T07:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587446#M1099812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;In your script, make sure the working week is a field in your calendar.&lt;/SPAN&gt; It's extremely inconvenient that you cannot change the script. If you could, you would be able do the following, which would make for a very logical and clean solution imho.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, also in the script, define the current and/or last working week as a variable, e.g.:&lt;/P&gt;&lt;P&gt;LET vCurrentWeek = Week(Today());&lt;/P&gt;&lt;P&gt;LET vLastWeek = vCurrentWeek-1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in your visualization, use:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({$&amp;lt;Book={"EM MATCH"}, Week={$(vLastWeek)}&amp;gt;} PRICE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;To make it a little more advanced (using only the current year).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;In Calendar table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dual(WeekYear(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CalendarDate &lt;/SPAN&gt;) &amp;amp; '-' &amp;amp; Week(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CalendarDate &lt;/SPAN&gt;), WeekStart(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CalendarDate &lt;/SPAN&gt;)) AS YearWeek&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LET vCurrentWeek = WeekStart(Today());&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LET vLastWeek = vCurrentWeek-7;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In visualization:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({$&amp;lt;Book={"EM MATCH"}, YearWeek={$(vLastWeek)}&amp;gt;} PRICE)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587446#M1099812</guid>
      <dc:creator />
      <dc:date>2014-04-17T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587447#M1099813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have attached the sample data in the reply above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587447#M1099813</guid>
      <dc:creator />
      <dc:date>2014-04-17T07:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Last week set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587448#M1099814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dirk, for reason I won't go into, I'm doing a binary load of another qvw and can't change the underlying calendar at the minute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would that idea still work if I added the variable via the 'Variable Overview' option on the Setting tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 07:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-set-analysis/m-p/587448#M1099814</guid>
      <dc:creator />
      <dc:date>2014-04-17T07:42:22Z</dc:date>
    </item>
  </channel>
</rss>

