<?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 How to display the Last week values in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288733#M107328</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&gt;Good Evening All, I would like to display the last week values using the&amp;nbsp; Dimention is WEEK and Expression is Sum(Invoicess).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried = PEEK(Sum(Invoicess),-1), its not working.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can any one help me how to this in a pivot table to display the &lt;STRONG&gt;last week Sum(Invoices).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Sep 2011 13:33:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-25T13:33:47Z</dc:date>
    <item>
      <title>How to display the Last week values in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288733#M107328</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&gt;Good Evening All, I would like to display the last week values using the&amp;nbsp; Dimention is WEEK and Expression is Sum(Invoicess).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried = PEEK(Sum(Invoicess),-1), its not working.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can any one help me how to this in a pivot table to display the &lt;STRONG&gt;last week Sum(Invoices).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 13:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288733#M107328</guid>
      <dc:creator />
      <dc:date>2011-09-25T13:33:47Z</dc:date>
    </item>
    <item>
      <title>How to display the Last week values in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288734#M107329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WEEK is a numerical, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could try a set expression like&lt;/P&gt;&lt;P&gt;= sum({&amp;lt;WEEK = {'$(=max(WEEK))'}&amp;gt;} Invoices)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression in your pivot table, which should limit your week dimension to last week within your current week selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 17:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288734#M107329</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-25T17:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the Last week values in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288735#M107330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, Set Analysis won't work here, because Week is also a Chart Dimension. If you need to present sales for a prior week (as opposed to the "current" week) in a chart, you'd have to create an additional table with another Week field and associate the two fields in such a way that the additional week field will represent the "next week" compared to the original week field which is associated with the data. Then, you can create a chart with the new field as a dimension, and it will show Prior week's data based on the association between the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;New Week&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Week&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2011/02&lt;/TD&gt;&lt;TD&gt;2011/01&lt;/TD&gt;&lt;TD&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2011/03&lt;/TD&gt;&lt;TD&gt;2011/02&lt;/TD&gt;&lt;TD&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2011/04&lt;/TD&gt;&lt;TD&gt;2011/03&lt;/TD&gt;&lt;TD&gt;3000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This way, Sales for Week 01 can be presented for "New Week" 2011/02 when "New Week" is used as a Dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 23:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-the-Last-week-values-in-Pivot-table/m-p/288735#M107330</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-09-25T23:26:16Z</dc:date>
    </item>
  </channel>
</rss>

