<?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 display previous period values on pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444602#M165786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Although your solution might work, what I am really interested is on doing this using the front end, as in this project I am very limited in the types of changes I can make to the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 09:53:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-23T09:53:04Z</dc:date>
    <item>
      <title>How to display previous period values on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444600#M165784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, I'm new to QlikView and I'm trying to do something that in theory should be very straightforward but I can't seem to understand how to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's consider this table that shows two columns: Reporting Period, Previous period responses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="31524" class="jive-image" alt="Untitled.png" src="https://community.qlik.com/legacyfs/online/31524_Untitled.png" /&gt;&lt;/P&gt;&lt;P&gt;Right now, I'm using the following expression: &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Sum({$&amp;lt;[Reporting Period Name]=,[Reporting Fiscal Year]=,[Reporting Period Key]={295}&amp;gt;}[Active and Unapproved Risks])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;295 corresponds to Period: 2012/13-P09. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I really want is to show 2247 against period 2012/13-P10.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I don't want to use the above function, has there might be some filters that only show one of the rows.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some set analysis or complicated expression that allows me to do what I want? Something like:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Sum({$&amp;lt;[Reporting Period Key]={&lt;SPAN style="font-family: 'courier new', courier;"&gt;[Reporting Period Key]&lt;/SPAN&gt; - 1}&amp;gt;}[Active and Unapproved Risks])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Joao&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444600#M165784</guid>
      <dc:creator />
      <dc:date>2013-01-22T16:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to display previous period values on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444601#M165785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create another field on your calendar that has the previous period listed as a field on the record for each date and use that as a dimension.&lt;/P&gt;&lt;P&gt;You'd need to mark the table as Read only though (General properties) so the dimension is not selected causing future confusion.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444601#M165785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-22T16:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to display previous period values on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444602#M165786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Although your solution might work, what I am really interested is on doing this using the front end, as in this project I am very limited in the types of changes I can make to the load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 09:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444602#M165786</guid>
      <dc:creator />
      <dc:date>2013-01-23T09:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display previous period values on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444603#M165787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt;=Sum({&amp;lt;[Reporting Period Key]={"$(=(&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: 'courier new', courier;"&gt;[Reporting Period Key])&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: 'courier new', courier; background-color: #ffffff;"&gt; - 1)"}&amp;gt;}[Active and Unapproved Risks])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 10:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444603#M165787</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-01-23T10:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to display previous period values on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444604#M165788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I get with that expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With no period selected:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="31604" alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/31604_Untitled.png" /&gt;&lt;/P&gt;&lt;P&gt;When I select period key 296:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="31605" alt="Untitled2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/31605_Untitled2.png" /&gt;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 11:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444604#M165788</guid>
      <dc:creator />
      <dc:date>2013-01-23T11:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to display previous period values on pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444605#M165789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to do what I wanted with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Above(sum( {1} [Active and Unapproved Risks]),1,RowNo()), [Reporting Period Key]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 15:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-display-previous-period-values-on-pivot-table/m-p/444605#M165789</guid>
      <dc:creator />
      <dc:date>2013-01-23T15:32:32Z</dc:date>
    </item>
  </channel>
</rss>

