<?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: Straight table - drag previous value different from zero in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1978032#M80731</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am glad that the solution provided helped pointing you on the right direction. Regarding your question, I was initially trying to do so via&lt;STRONG&gt; front end&lt;/STRONG&gt; rather than &lt;STRONG&gt;script&lt;/STRONG&gt;. I was trying to do so with function &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Above&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt;, but when multiple consecutive values are missing, it wont work. The issue that I had was:&lt;BR /&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;If &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;Value &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;= 0, &lt;/STRONG&gt;&lt;SPAN style="color:hsl(270, 75%, 60%);"&gt;&lt;STRONG&gt;Take above&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(270, 75%, 60%);"&gt;&lt;STRONG&gt; Use same value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;STRONG&gt;// Pseudocode&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However it will work in the use case scenario:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it won't work for use case scenario:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because the first found 0 was replaced by &lt;STRONG&gt;"above"&lt;/STRONG&gt;, so &lt;STRONG&gt;10 &lt;/STRONG&gt;and the next &lt;STRONG&gt;0 &lt;/STRONG&gt;was replaced by &lt;STRONG&gt;"above"&lt;/STRONG&gt; so again &lt;STRONG&gt;0 &lt;/STRONG&gt;in that case. Perhaps somebody can share a different solution for front end, otherwise the only solution for the specific use case scenario would be going via script for now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that this information is helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Sep 2022 10:40:23 GMT</pubDate>
    <dc:creator>Andrei_Cusnir</dc:creator>
    <dc:date>2022-09-07T10:40:23Z</dc:date>
    <item>
      <title>Straight table - drag previous value different from zero</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1977077#M80610</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;This is my Table and what I need. I've tried below code but no success. Hope you can help me.&lt;/P&gt;
&lt;P&gt;Many TKS.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oscarvictory_0-1662392403815.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88319i74F6629A8D228538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oscarvictory_0-1662392403815.png" alt="oscarvictory_0-1662392403815.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;if(Sum({&amp;lt; Sales= {"ABC*"} &amp;gt;} Qty * price_abc) &amp;gt; 0,&lt;/P&gt;
&lt;P&gt;Aggr(RangeSum(Above(Sum({&amp;lt; Sales= {"ABC*"} &amp;gt;} Qty * price_abc) , 0, RowNo())), SNo),&lt;/P&gt;
&lt;P&gt;Above(TOTAL Aggr(RangeSum(Above(Sum({&amp;lt; Sales = {"ABC*"} &amp;gt;} Qty * price_abc) , 0, RowNo())), SNo)))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 15:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1977077#M80610</guid>
      <dc:creator>oscarvictory</dc:creator>
      <dc:date>2022-09-05T15:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table - drag previous value different from zero</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1977368#M80662</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can be easily done through script. Here are some steps:&lt;/P&gt;
&lt;P&gt;1. Lets assume that you already have the table with &lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;DATE &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;SALES &lt;/STRONG&gt;&lt;/SPAN&gt;values. For that I am going to just use directly a load inline statement:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/1bdc2e17-5e13-498b-ac81-7b514a3dd0de.default.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Now I add the following script:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Let &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;vNoOfRows &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;= &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;NoOfRows&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'Dataset'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(210,75%,60%);"&gt;&lt;STRONG&gt;Let&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;lastSave &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;= 0;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;FOR &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;i&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=0 to &lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;$(vNoOfRows)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;-1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;//Get the date as separate value:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210,75%,60%);"&gt;&lt;STRONG&gt;Let&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;vDate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Peek&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'DATE'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;$(i)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'Dataset'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;//Get the current value:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210,75%,60%);"&gt;&lt;STRONG&gt;Let&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;vValue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Peek&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'SALES'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;$(i)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;'Dataset'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Trace &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;Reading value: ${vValue};&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;// If current value is 0 keep the old saved value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;// Othwerwise, update the value to the current read value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210,75%,60%);"&gt;&lt;STRONG&gt;Let&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;lastSave &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;= &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;vValue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;=0,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt; $(lastSave)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;vValue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Trace &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;Last save: ${lastSave};&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;//Save the last save value in the dataset:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(270, 75%, 60%);"&gt;&lt;STRONG&gt;NewTable&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;LOAD&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;'$(vDate)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;as &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;DATE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;'$(vValue)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210,75%,60%);"&gt;&lt;STRONG&gt;as&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;SALES&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color:hsl(120, 75%, 60%);"&gt;&lt;STRONG&gt;&amp;nbsp;'$(lastSave)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(210,75%,60%);"&gt;&lt;STRONG&gt;as&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;EXPECTED&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;AUTOGENERATE &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;1;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;NEXT &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;i;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Drop table&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;SPAN style="color:hsl(270, 75%, 60%);"&gt;&lt;STRONG&gt;Dataset&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This script will iterate through all the values in the table and will generate a new table where the DATE and SALES fields remain the same, but then it adds the &lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;EXPECTED &lt;/STRONG&gt;&lt;/SPAN&gt;field that will have the values you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Here is the outcome:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/7d88b195-5a28-424d-9f9c-57508dbec097.default.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, addressed your concerns or at least pointed you in the right direction, please mark it as Accepted Solution to give further visibility to other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 09:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1977368#M80662</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-09-06T09:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table - drag previous value different from zero</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1977624#M80687</link>
      <description>&lt;P&gt;Hi Andrei, perfectly explained!! and it runs like a charm as they say&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Moreover, I was wondering if there is any function in expression when the data has already been loaded.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 14:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1977624#M80687</guid>
      <dc:creator>oscarvictory</dc:creator>
      <dc:date>2022-09-06T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table - drag previous value different from zero</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1978032#M80731</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am glad that the solution provided helped pointing you on the right direction. Regarding your question, I was initially trying to do so via&lt;STRONG&gt; front end&lt;/STRONG&gt; rather than &lt;STRONG&gt;script&lt;/STRONG&gt;. I was trying to do so with function &lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;Above&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt;, but when multiple consecutive values are missing, it wont work. The issue that I had was:&lt;BR /&gt;&lt;SPAN style="color:hsl(210, 75%, 60%);"&gt;&lt;STRONG&gt;If &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;SPAN style="color:hsl(30, 75%, 60%);"&gt;&lt;STRONG&gt;Value &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;= 0, &lt;/STRONG&gt;&lt;SPAN style="color:hsl(270, 75%, 60%);"&gt;&lt;STRONG&gt;Take above&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color:hsl(270, 75%, 60%);"&gt;&lt;STRONG&gt; Use same value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;STRONG&gt;// Pseudocode&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However it will work in the use case scenario:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it won't work for use case scenario:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;30&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because the first found 0 was replaced by &lt;STRONG&gt;"above"&lt;/STRONG&gt;, so &lt;STRONG&gt;10 &lt;/STRONG&gt;and the next &lt;STRONG&gt;0 &lt;/STRONG&gt;was replaced by &lt;STRONG&gt;"above"&lt;/STRONG&gt; so again &lt;STRONG&gt;0 &lt;/STRONG&gt;in that case. Perhaps somebody can share a different solution for front end, otherwise the only solution for the specific use case scenario would be going via script for now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope that this information is helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 10:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1978032#M80731</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-09-07T10:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Straight table - drag previous value different from zero</title>
      <link>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1978526#M80769</link>
      <description>&lt;P&gt;Yes, exactly what happened to me in both scenarios.&lt;/P&gt;
&lt;P&gt;Anyway, I will adopt your pointed solution.&lt;/P&gt;
&lt;P&gt;Many TKS!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 08:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Straight-table-drag-previous-value-different-from-zero/m-p/1978526#M80769</guid>
      <dc:creator>oscarvictory</dc:creator>
      <dc:date>2022-09-08T08:03:59Z</dc:date>
    </item>
  </channel>
</rss>

