<?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: Help in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818602#M288620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The whole script: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Dates, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categorie_Flag, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;load.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dates, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categorie_Flag, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume,&lt;/P&gt;&lt;P&gt;Peek(Volume,-2) as Peek_Table&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;Order by Dates;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I got this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79669_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2015 20:59:30 GMT</pubDate>
    <dc:creator>terezagr</dc:creator>
    <dc:date>2015-03-02T20:59:30Z</dc:date>
    <item>
      <title>Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818598#M288616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello got a pivot table with 2 dimensions (Month-Year) and Category&lt;/P&gt;&lt;P&gt;I got an expression very simple sum(Amount)&lt;/P&gt;&lt;P&gt;now what I want is demonstrated in the following image:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="desired.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79661_desired.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;so for each month-year (I need to display the value of the last year's month-year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818598#M288616</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-03-02T20:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818599#M288617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to have a look at Peek() function? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peek function allows you to 'peek' to number of records you specify. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your load script you can add this and you will 'peek' 1 record in your read table:&lt;/P&gt;&lt;P&gt;e.g. Peek(Dates,-1) as Peek_dates&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818599#M288617</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-02T20:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818600#M288618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know how many combinations the end user may select&lt;/P&gt;&lt;P&gt;so it is not feasible to make it in the script as the selections are endless&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818600#M288618</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-03-02T20:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818601#M288619</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;above(Total above( Total sum( volume)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818601#M288619</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2015-03-02T20:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818602#M288620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The whole script: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD Dates, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categorie_Flag, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;load.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Dates, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categorie_Flag, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume,&lt;/P&gt;&lt;P&gt;Peek(Volume,-2) as Peek_Table&lt;/P&gt;&lt;P&gt;Resident Table&lt;/P&gt;&lt;P&gt;Order by Dates;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I got this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79669_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 20:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818602#M288620</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-02T20:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818603#M288621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Staffan solution is cool, but as soon as you select e.g. 2013 year, it will not show you anything for volume. Despite the fact that there were volume data for 2012. See picture below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79671_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/79672_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 21:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818603#M288621</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-02T21:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818604#M288622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And much cooler:&lt;/P&gt;&lt;P&gt;above( total above( Total sum({1} volume)))&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 21:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818604#M288622</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2015-03-02T21:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818605#M288623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And might affect performance of the application more than the Peek () &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 21:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818605#M288623</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-02T21:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818606#M288624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the {1} you will always evaluate the full record set of all the data in the document - ignoring all your selections:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79673_Capture.PNG" style="height: 185px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;With peek() function:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/79674_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/79675_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 21:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818606#M288624</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-02T21:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818607#M288625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's why you should use the Peek() as I suggested &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Dates,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categorie_Flag,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load.txt&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Dates,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Categorie_Flag,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Volume,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Peek(Volume,-2) as Peek_Table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Table&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Order by Dates;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 15:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-expression/m-p/818607#M288625</guid>
      <dc:creator>terezagr</dc:creator>
      <dc:date>2015-03-05T15:31:27Z</dc:date>
    </item>
  </channel>
</rss>

