<?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 Buffer (Incremental) not recognizing new data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Buffer-Incremental-not-recognizing-new-data/m-p/1331765#M29078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to tame the &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Buffer&lt;/STRONG&gt;&lt;/SPAN&gt; statement for quite the while now and, either there is something I am missing or there is something not working quite as it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be using the case I am working with as an example to help illustrate my explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to measure the scalability of my data loading script depending on the maximum data loaded per data origin.&lt;/P&gt;&lt;P&gt;For this purpose I make use of 3 variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[Start of the script]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Let vStart = Now();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;Set vScaleStep = 100;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;(...)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;[data loading script]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;(...)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;[end of the script]&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Let vEnd = Now();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Let vReloadTime = TIME(vEnd-vStart,'hh:mm:ss');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use them as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[Performance]:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumRegisters,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;LoadDate,NumRegisters,ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;$(vStart),$(vScaleStep),$(vReloadTime)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus storing the values in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like this table, &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Performance&lt;/STRONG&gt;&lt;/SPAN&gt;, to be increasingly larger with each reload, so I thought of making use of this &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Buffer (Incremental)&lt;/STRONG&gt;&lt;/SPAN&gt; thingy. The following script is my attempt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[temp]:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumRegisters,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;LoadDate,NumRegisters,ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;$(vStart),$(vScaleStep),$(vReloadTime)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[Performance]:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Buffer (Incremental)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadDate as Performance.LoadDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumRegisters as Performance.NumRegisters,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReloadTime as Performance.ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times; font-size: 13.3333px;"&gt;Resident temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times; font-size: 13.3333px;"&gt;Drop Table temp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do it in two steps (using a temporary table with &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Resident&lt;/STRONG&gt;&lt;/SPAN&gt;) because, if the load statement used temp's inline expression, the load expression would be different every time and the qvd bufer would be replaced and never really used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what I am getting from this attempt of mine is a 1 line Performance table that never changes its content: the qvd buffer is not being appended new information with each reload, as I wished it to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff6600; text-decoration: underline;"&gt;Why is the Qlik Sense not recognizing the new information coming from the resident table and just loading the buffer?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff6600; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was perfectly able to create a workaround, but I am annoyed by not being able to make this work as I wanted it to, having to resort to manually managing qvd files and resident loads...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jul 2017 11:01:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-05T11:01:39Z</dc:date>
    <item>
      <title>Buffer (Incremental) not recognizing new data</title>
      <link>https://community.qlik.com/t5/App-Development/Buffer-Incremental-not-recognizing-new-data/m-p/1331765#M29078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to tame the &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Buffer&lt;/STRONG&gt;&lt;/SPAN&gt; statement for quite the while now and, either there is something I am missing or there is something not working quite as it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be using the case I am working with as an example to help illustrate my explanation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to measure the scalability of my data loading script depending on the maximum data loaded per data origin.&lt;/P&gt;&lt;P&gt;For this purpose I make use of 3 variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[Start of the script]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Let vStart = Now();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;Set vScaleStep = 100;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;(...)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;[data loading script]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;(...)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'andale mono', times;"&gt;[end of the script]&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Let vEnd = Now();&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Let vReloadTime = TIME(vEnd-vStart,'hh:mm:ss');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use them as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[Performance]:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumRegisters,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;LoadDate,NumRegisters,ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;$(vStart),$(vScaleStep),$(vReloadTime)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus storing the values in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like this table, &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Performance&lt;/STRONG&gt;&lt;/SPAN&gt;, to be increasingly larger with each reload, so I thought of making use of this &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Buffer (Incremental)&lt;/STRONG&gt;&lt;/SPAN&gt; thingy. The following script is my attempt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[temp]:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumRegisters,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;LoadDate,NumRegisters,ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;$(vStart),$(vScaleStep),$(vReloadTime)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;[Performance]:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Buffer (Incremental)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LoadDate as Performance.LoadDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumRegisters as Performance.NumRegisters,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReloadTime as Performance.ReloadTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times; font-size: 13.3333px;"&gt;Resident temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-family: 'andale mono', times; font-size: 13.3333px;"&gt;Drop Table temp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do it in two steps (using a temporary table with &lt;SPAN style="font-family: 'andale mono', times;"&gt;&lt;STRONG&gt;Resident&lt;/STRONG&gt;&lt;/SPAN&gt;) because, if the load statement used temp's inline expression, the load expression would be different every time and the qvd bufer would be replaced and never really used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what I am getting from this attempt of mine is a 1 line Performance table that never changes its content: the qvd buffer is not being appended new information with each reload, as I wished it to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff6600; text-decoration: underline;"&gt;Why is the Qlik Sense not recognizing the new information coming from the resident table and just loading the buffer?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff6600; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was perfectly able to create a workaround, but I am annoyed by not being able to make this work as I wanted it to, having to resort to manually managing qvd files and resident loads...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 11:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Buffer-Incremental-not-recognizing-new-data/m-p/1331765#M29078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-05T11:01:39Z</dc:date>
    </item>
  </channel>
</rss>

