<?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: BELOW is not a valid function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104197#M18705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script, there is no Below() function. You can't get QlikSense to look ahead in your table input records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to create a table load that is sorted the other way round using ORDER BY, then use PEEK() or PREVIOUS() to compare ID with the line just read before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ID = Previous(ID), 0, Weight) as [Corrected Weight]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;RESIDENT YourTable&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;ORDER BY Timestamp DESC; // adapt to a field you can use to order your table in reverse original order.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 08:52:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-14T08:52:43Z</dc:date>
    <item>
      <title>BELOW is not a valid function</title>
      <link>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104196#M18704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need helping getting the Below function to work. Here is what I have and the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ID = Below(ID), 0, Weight) as [Corrected Weight];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The intention is to compare the current ID with the line below and if the IDs match, then ignore the weight of all but the last weights (all of the ignored weights are the same value). I've read and tried to apply what's written in &lt;A href="http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/ChartFunctions/InterRecordFunctions/below.htm" title="http://help.qlik.com/en-US/sense/2.2/Subsystems/Hub/Content/ChartFunctions/InterRecordFunctions/below.htm"&gt;Below - chart function ‒ Qlik Sense&lt;/A&gt;, but always get the error in the title. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 00:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104196#M18704</guid>
      <dc:creator />
      <dc:date>2016-06-14T00:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: BELOW is not a valid function</title>
      <link>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104197#M18705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script, there is no Below() function. You can't get QlikSense to look ahead in your table input records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to create a table load that is sorted the other way round using ORDER BY, then use PEEK() or PREVIOUS() to compare ID with the line just read before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD ID,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weight,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(ID = Previous(ID), 0, Weight) as [Corrected Weight]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;RESIDENT YourTable&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;ORDER BY Timestamp DESC; // adapt to a field you can use to order your table in reverse original order.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 08:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104197#M18705</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-14T08:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: BELOW is not a valid function</title>
      <link>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104198#M18706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vincent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ is right, Below and Above works only in charts, and with other UI objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104198#M18706</guid>
      <dc:creator>undergrinder</dc:creator>
      <dc:date>2016-06-14T09:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: BELOW is not a valid function</title>
      <link>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104199#M18707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much, that fixed it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 20:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/BELOW-is-not-a-valid-function/m-p/1104199#M18707</guid>
      <dc:creator />
      <dc:date>2016-06-14T20:30:42Z</dc:date>
    </item>
  </channel>
</rss>

