<?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 Ignore first value using Above() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546736#M204209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to ignore the first delta value when using the Above() function? I'm plotting the difference in # of users in a system between months, and the first calculation is far above the rest because it's subtracting 0 in the first month (no data for Min(month) - 1). Is there a way to force the first value to be zero?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example below I turned the difference into a percentage, but the idea remains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44817" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/44817_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 18:38:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-31T18:38:49Z</dc:date>
    <item>
      <title>Ignore first value using Above() function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546736#M204209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to ignore the first delta value when using the Above() function? I'm plotting the difference in # of users in a system between months, and the first calculation is far above the rest because it's subtracting 0 in the first month (no data for Min(month) - 1). Is there a way to force the first value to be zero?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example below I turned the difference into a percentage, but the idea remains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="44817" class="jive-image-thumbnail jive-image" onclick="" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/44817_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 18:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546736#M204209</guid>
      <dc:creator />
      <dc:date>2013-07-31T18:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore first value using Above() function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546737#M204210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(rowno() = 1,&lt;/P&gt;&lt;P&gt;0,&lt;/P&gt;&lt;P&gt;above(YourExpression)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 20:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546737#M204210</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-31T20:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore first value using Above() function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546738#M204211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good thought, however unfortunately this doesn't work. I tried if(RowNo() = 1..) and if(RowNo() = 2...), but neither produced the desired result. It's not placing a zero in the first position the way I would like (RowNo() = 1 didn't change the plot at all - I assume since when I take the difference of (value - PreviousVaue), the calcuation cannot work until the second data point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 21:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546738#M204211</guid>
      <dc:creator />
      <dc:date>2013-07-31T21:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore first value using Above() function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546739#M204212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I personnaly use a len() function to ignore the first value or put it at 1. You can put whatever you want in else part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(len(Above([Amount Gross Margin]))&amp;gt;0,avg(SaleGrossMargin),'')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 02:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546739#M204212</guid>
      <dc:creator />
      <dc:date>2013-08-01T02:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore first value using Above() function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546740#M204213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(rowno() = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;' ',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;above(YourExpression)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;note--if you only use one expression then first row automatically supressed because it take as a null value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hope this helps you.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 04:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546740#M204213</guid>
      <dc:creator />
      <dc:date>2013-08-01T04:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore first value using Above() function</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546741#M204214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be helpful if you could post the complete expression, or even better a small sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above(YourExpression) should return NULL in the first row, not zero, so subtracting above(YourExpression) from YourExpression, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(UsageCount) - above(sum(UsageCount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should also be NULL, not equal to sum(UsageCount). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 20:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-first-value-using-Above-function/m-p/546741#M204214</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-08-01T20:21:54Z</dc:date>
    </item>
  </channel>
</rss>

