<?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: ABOVE Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224610#M77000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very beautifully explained Neil Miller &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 06:58:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-07T06:58:17Z</dc:date>
    <item>
      <title>ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224601#M76991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;Please i want an example of QVW application to use the following function : &lt;B&gt;above( [ total ] expression [, offset [,n ]] )&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Also, can someone explain me this function...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 18:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224601#M76991</guid>
      <dc:creator />
      <dc:date>2010-09-30T18:46:40Z</dc:date>
    </item>
    <item>
      <title>ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224602#M76992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Above simply takes a value from the row Above the current row. It can be used to calculate an accumulating total.&lt;/P&gt;&lt;P&gt;Here are some quick examples.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Above(Column(1))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Above(TOTAL Column(1)) + If(Above(TOTAL Column(3)) &amp;gt; 0, Above(TOTAL Column(3)), 0)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224602#M76992</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:21:42Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224603#M76993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please NMiller, can you explain theses above examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:45:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224603#M76993</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:45:37Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224604#M76994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached application shows the results, which are probably more helpful than an explanation.&lt;/P&gt;&lt;P&gt;The first one can be used with a simple expression in column 1. In the example Sum(Sales). This expression will display the Sum(Sales) for the record above. The Sum of Sales on line 1 is displayed in column 2 in the second row. The Above function resets at each change of the first dimension, which is why you see the nulls (there is nothing Above the first record on a dimension).&lt;/P&gt;&lt;P&gt;Let me change the second one to:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Column(1) + If(Above(TOTAL Column(3)) &amp;gt; 0, Above(TOTAL Column(3)), 0)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The second one is an accumulated total. Column 1 and 2 are the same from above. This expression must be placed in column 3. This takes the value in column 1 (the Sum of Sales for the record) and adds it to the accumulated total above. The If eliminates the nulls as if there is no value Above, it will use zero. The TOTALs are required to not reset at the dimension change.&lt;/P&gt;&lt;P&gt;I don't know how useful either of those would be in an actual application, but they should demonstrate the function pretty well.&lt;/P&gt;&lt;P&gt;Here is an image that helps with the second expression. The value in green is made up of the two values in red. &lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7737.Above.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x214/__key/CommunityServer.Discussions.Components.Files/11/7737.Above.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224604#M76994</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:51:31Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Re: ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224605#M76995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks NMILLER, i saw not the application, i have heard very well&lt;/P&gt;&lt;P&gt;Thank you verymutz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Sep 2010 19:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224605#M76995</guid>
      <dc:creator />
      <dc:date>2010-09-30T19:56:45Z</dc:date>
    </item>
    <item>
      <title>ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224606#M76996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NMiller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the exmaples you showed. I want exactly same functionali but with partial sum capability. If I turn on the Partial sum in the example you showed. it doesnt work... Can you pease help. I amattached the example you showed with partial sum on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 12:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224606#M76996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-10T12:40:04Z</dc:date>
    </item>
    <item>
      <title>ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224607#M76997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, since there is no Above for the Partial Sum, the expression doesn't work. You can define the Partial Sums equation separately. You use Dimensionality() for that. Dimensionality() tells where in the dimension hierarchy you are. It returns zero for the Partial Sum on the first dimension and goes up from there.&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Dimensionality()&amp;gt;1,&lt;BR /&gt; Above(TOTAL Column(1)) + If(Above(TOTAL Column(3)) &amp;gt; 0, Above(TOTAL Column(3)), 0),&lt;BR /&gt; Sum(Sales))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Using this expression, the Partial Sum will be the Sum(Sales), while the detail level will use the Above logic. That may not be exactly what you want. You'll need to come up with an expression that works on the Partial Sum level without using the Above() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 19:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224607#M76997</guid>
      <dc:creator />
      <dc:date>2010-12-10T19:31:27Z</dc:date>
    </item>
    <item>
      <title>ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224608#M76998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi NMiler, do you have an example qvw on the Dimensionalty() feature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem, im creating a scorecard wthat compares values from previous row (week) and gives a trend arrrow.&amp;nbsp; The problme is when a user selects a particular week form a list box the above function doesnt work because there is no above only the current.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 15:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224608#M76998</guid>
      <dc:creator />
      <dc:date>2011-05-31T15:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224609#M76999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain a bit more what you mean by "The Above function resets on each change of the first dimension"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have transactions that have both Transaction Number (TNBR) and Line Number (LNBR). Sometimes, duplicate line numbers get processed for one Transaction Number. Our client wants that to display as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TNBR&amp;nbsp;&amp;nbsp;&amp;nbsp; LNBR&lt;/P&gt;&lt;P&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7&lt;/P&gt;&lt;P&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S/L7&amp;nbsp;&amp;nbsp; &amp;lt;- this is the duplicated line 7&lt;/P&gt;&lt;P&gt;24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using as the expression for LNBR:&lt;/P&gt;&lt;P&gt;If(TNBR=Above(TNBR,1) AND LNBR=Above(LNBR,1),'S/L'&amp;amp;Linenumber,Linenumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought this would give me the "S/L" lines when the TNBR on two consecutive lines was equal, and the LNBR was equal. But&amp;nbsp; I'm getting "S/L7" on both lines, not just the bottom one. Is this happening because the Above function hasn't "reset" since the TNBR didn't change?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 18:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224609#M76999</guid>
      <dc:creator />
      <dc:date>2014-12-01T18:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: ABOVE Function</title>
      <link>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224610#M77000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very beautifully explained Neil Miller &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 06:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABOVE-Function/m-p/224610#M77000</guid>
      <dc:creator />
      <dc:date>2015-10-07T06:58:17Z</dc:date>
    </item>
  </channel>
</rss>

