<?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 Last week orders in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316439#M1201769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;BR /&gt;&lt;BR /&gt;thank you very much for your quick reply. I tried your version but unfortunately it did not work:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/1803.QV.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/1803.QV.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The green versions were my attempts to go step by step. The first line gives the correct data for week 11 (which is the previous calendar week) but the following expressions won't. But you must be right - it is definitly just a small modification to the set expression that will do the trick. Any further hints? What about the year? I guess I will have to also consider the year later on as calendar weeks of course repeat each year.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Günter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2011 08:31:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-24T08:31:04Z</dc:date>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316437#M1201767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlikviewers!&lt;BR /&gt;&lt;BR /&gt;I'm trying to show all orders that were entered in the previous week by mtons, the used dimension is the sales department that book the orders. I used the below formula, but had no success:&lt;BR /&gt;&lt;BR /&gt;EWoche = Week number in which the order was entered&lt;BR /&gt;EJahr = Year in which the order was entered&lt;BR /&gt;both were "loaded as" from the field "Erstellungsdatum" in the original format DD.MM.YYYY&lt;BR /&gt;Auftragsmenge in Tonnen = the numbers of tons booked in an order&lt;BR /&gt;&lt;BR /&gt;I used the following formula but got no result:&lt;BR /&gt;&lt;BR /&gt;Sum ({$&amp;lt;EWoche={Week(Today())-1)}&amp;gt;}[Auftragsmenge in Tonnen]&lt;B&gt;)&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;The set should pick the whole previous week, i.e. from Monday to Sunday, based on the current date resp. week.&lt;BR /&gt;&lt;BR /&gt;I found a similar thread, but the solution was obviously wrapped in an qvw file which I couldn't open as I'm currently still using the personal edition.&lt;BR /&gt;&lt;BR /&gt;I would really appreciate your help!&lt;BR /&gt;&lt;BR /&gt;Many thanks and regards&lt;BR /&gt;Günter&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 07:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316437#M1201767</guid>
      <dc:creator />
      <dc:date>2011-03-24T07:02:17Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316438#M1201768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just guessing its an issue with the SET expression, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR style="margin:0in 0in 10pt;" /&gt;&lt;BR /&gt;&lt;BR style="margin:0in 0in 10pt;" /&gt;Sum ({&amp;lt;EWoche={'=$(Week(Today())-1)'}&amp;gt;}[Auftragsmenge in Tonnen]&lt;B&gt;)&lt;/B&gt;&lt;BR style="margin:0in 0in 10pt;" /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards, tresesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 08:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316438#M1201768</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2011-03-24T08:08:28Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316439#M1201769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;BR /&gt;&lt;BR /&gt;thank you very much for your quick reply. I tried your version but unfortunately it did not work:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/1803.QV.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/1803.QV.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The green versions were my attempts to go step by step. The first line gives the correct data for week 11 (which is the previous calendar week) but the following expressions won't. But you must be right - it is definitly just a small modification to the set expression that will do the trick. Any further hints? What about the year? I guess I will have to also consider the year later on as calendar weeks of course repeat each year.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Günter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 08:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316439#M1201769</guid>
      <dc:creator />
      <dc:date>2011-03-24T08:31:04Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316440#M1201770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls Try Following&lt;/P&gt;&lt;P&gt;Sum(if(EWoche = week(Today())-1),[Auftragsmenge in Tonnen))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 09:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316440#M1201770</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-03-24T09:26:16Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316441#M1201771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;BR /&gt;&lt;BR /&gt;thank you for your input - unfortunately it does not work, it still say "no data available" in my chart. Is there maybe something missing? The expression shows a red underline - see below picture:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/674/8156.QV1.jpg"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/674/8156.QV1.jpg" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 10:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316441#M1201771</guid>
      <dc:creator />
      <dc:date>2011-03-24T10:18:43Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316442#M1201772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(IF(EWoche = Week(Today())-1,Auftragsmenge in Tonnen))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 10:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316442#M1201772</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-03-24T10:34:34Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316443#M1201773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum(IF(EWoche = Week(Today())-1,[Auftragsmenge in Tonnen]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 10:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316443#M1201773</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-03-24T10:34:41Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316444#M1201774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;BR /&gt;&lt;BR /&gt;thank you very much - that one works perfectly! May I ask how I would add now the year to avoid showing orders that were entered in the same calendar week of the previous year? This whole set analysis system is still very confusing to me...&lt;BR /&gt;&lt;BR /&gt;Many thanks again!&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Günter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 10:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316444#M1201774</guid>
      <dc:creator />
      <dc:date>2011-03-24T10:53:26Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316445#M1201775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yo want to eliminate order that were entered into same claender week of last year.&lt;/P&gt;&lt;P&gt;Correct me if I am wrong ?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 11:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316445#M1201775</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-03-25T11:30:45Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316446#M1201776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is what I want. In other words only the calendar weeks of the current year should show up.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Günter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 11:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316446#M1201776</guid>
      <dc:creator />
      <dc:date>2011-03-25T11:32:54Z</dc:date>
    </item>
    <item>
      <title>Last week orders</title>
      <link>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316447#M1201777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Dimention ,&lt;/P&gt;&lt;P&gt;Write Following in Dimention Expression&lt;/P&gt;&lt;P&gt;if(Year = Year(Today()),Week)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 11:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-week-orders/m-p/316447#M1201777</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-03-25T11:41:29Z</dc:date>
    </item>
  </channel>
</rss>

