<?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 Using calculated cell from above in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838109#M69291</link>
    <description>&lt;P&gt;Hey All!&lt;/P&gt;&lt;P&gt;I need your help with the data set (as an example I put it in excel):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Przemyslaw_Rybacki_0-1632248611635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62491iFBB0AA5FE82BF814/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Przemyslaw_Rybacki_0-1632248611635.png" alt="Przemyslaw_Rybacki_0-1632248611635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is to fetch during of calculation for field "Purge" the fileds above calculated (for example cell D10).&lt;/P&gt;&lt;P&gt;Is there function in Qlik Sense which let me to do it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that above() works only in table/chart, but is there an option to do it in my script?&lt;/P&gt;&lt;P&gt;Gr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Sep 2021 18:33:31 GMT</pubDate>
    <dc:creator>Przemyslaw_Rybacki</dc:creator>
    <dc:date>2021-09-21T18:33:31Z</dc:date>
    <item>
      <title>Using calculated cell from above</title>
      <link>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838109#M69291</link>
      <description>&lt;P&gt;Hey All!&lt;/P&gt;&lt;P&gt;I need your help with the data set (as an example I put it in excel):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Przemyslaw_Rybacki_0-1632248611635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62491iFBB0AA5FE82BF814/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Przemyslaw_Rybacki_0-1632248611635.png" alt="Przemyslaw_Rybacki_0-1632248611635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is to fetch during of calculation for field "Purge" the fileds above calculated (for example cell D10).&lt;/P&gt;&lt;P&gt;Is there function in Qlik Sense which let me to do it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that above() works only in table/chart, but is there an option to do it in my script?&lt;/P&gt;&lt;P&gt;Gr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 18:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838109#M69291</guid>
      <dc:creator>Przemyslaw_Rybacki</dc:creator>
      <dc:date>2021-09-21T18:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated cell from above</title>
      <link>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838110#M69292</link>
      <description>&lt;P&gt;You can use peek() for this.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 18:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838110#M69292</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-09-21T18:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated cell from above</title>
      <link>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838196#M69302</link>
      <description>&lt;P&gt;When I do like this, result is null for field "Purge"&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Day&lt;/P&gt;&lt;P&gt;Stock&lt;/P&gt;&lt;P&gt;Inbound&lt;/P&gt;&lt;P&gt;(Stock-30-peek('Purge',-1)) as Purge&lt;/P&gt;&lt;P&gt;From.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 06:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838196#M69302</guid>
      <dc:creator>Przemyslaw_Rybacki</dc:creator>
      <dc:date>2021-09-22T06:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated cell from above</title>
      <link>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838286#M69309</link>
      <description>&lt;P&gt;1) drop the single quotes.&lt;/P&gt;&lt;P&gt;2) you'll need to add if(rowno() = 1).&amp;nbsp; Because row 1 returns null, and you can't subtracting null after that resulting in null.&amp;nbsp; try this/update row1 as you need:&lt;/P&gt;&lt;P&gt;&amp;nbsp;If(rowno() = 1, 0,&amp;nbsp;&lt;SPAN&gt;(Stock-30-peek(Purge,-1))&amp;nbsp;) as Purge&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 10:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838286#M69309</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-09-22T10:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using calculated cell from above</title>
      <link>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838296#M69311</link>
      <description>&lt;P&gt;It's working, Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 10:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-calculated-cell-from-above/m-p/1838296#M69311</guid>
      <dc:creator>Przemyslaw_Rybacki</dc:creator>
      <dc:date>2021-09-22T10:39:38Z</dc:date>
    </item>
  </channel>
</rss>

