<?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: Incremental Load in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/99999#M6628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest not using the term incremental load as it has a specific usage within qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your usecase for dynamically creating the where clause. Why dont you create a variable in your script which will can be populated based on your logic and use in your where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. where $(vTemp);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2018 17:18:32 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2018-09-24T17:18:32Z</dc:date>
    <item>
      <title>Incremental Load</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/99998#M6627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;I would like to ask you how to write an 'Incremental Load" script which will load Hive table data&amp;nbsp; filtered&amp;nbsp; in the increments of seven days, such as:&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;where `date` = 18/1/2016, 25/1/2016, 1/2/2016.....17/9/2018, 24/9/2018, 1/10/2018, 8/10/2018.........onward&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;The script for the single date:&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;BN2:&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;LOAD Distinct&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; poi_region_name,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; state,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; efs_vc_host_name,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count (Distinct nbn_avc_id) as Unique_AVC_Count,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc4_11_avc_wo_ob_ds as TC4_download_speed,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc4_11_avc_wo_ob_us as TC4_upload_speed,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc1_11_avc_wo_ob_ds as TC1_download_speed,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary_access_tech,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc2_11_avc_wo_ob_ds as TC2_download_speed,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc1_11_avc_wo_ob_us as TC1_upload_speed,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc2_11_avc_wo_ob_us as TC2_upload_speed ,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#("date", 'YYYYMMDD')) as Date&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;where left (nbn_avc_id,3)='AVC'&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;Group by poi_region_name,state,efs_vc_host_name,tc4_11_avc_wo_ob_ds,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc4_11_avc_wo_ob_us,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc1_11_avc_wo_ob_ds,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary_access_tech,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc2_11_avc_wo_ob_ds,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc1_11_avc_wo_ob_us,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tc2_11_avc_wo_ob_us,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "date";&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;SQL SELECT&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `poi_region_name`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; state,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `nbn_avc_id`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `tc4_11_avc_wo_ob_ds`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `tc4_11_avc_wo_ob_us`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `tc1_11_avc_wo_ob_ds`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `primary_access_tech`,&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `tc2_11_avc_wo_ob_ds`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `tc1_11_avc_wo_ob_us`,&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `tc2_11_avc_wo_ob_us`,&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; `date`&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;FROM HIVE.prod.`baja`&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt;where `date`='20180902';&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;Store BN2 into&amp;nbsp; [lib://QVD/BN2.csv]&lt;BR style="background-position: repeat; color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; text-align: left;" /&gt; (txt,delimiter is ',');&lt;/P&gt;&lt;P style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2018 13:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/99998#M6627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-23T13:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/99999#M6628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest not using the term incremental load as it has a specific usage within qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for your usecase for dynamically creating the where clause. Why dont you create a variable in your script which will can be populated based on your logic and use in your where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. where $(vTemp);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 17:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/99999#M6628</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-09-24T17:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2532971#M108167</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412"&gt;@dplr-rn&lt;/a&gt;&amp;nbsp;, Could you please share more details about the type of incremental load you're looking to implement?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If your goal is to load data from the last week (i.e., the most recent 7 days based on the date), and then append it to the existing historical data, we can proceed as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;Create a variable: &lt;CODE&gt;vDate = Date(Today() - 7)&lt;/CODE&gt; — this will return the date from 7 days ago.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;Use this variable in your &lt;CODE&gt;WHERE&lt;/CODE&gt; clause: &lt;CODE&gt;WHERE Date = $(vDate)&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN&gt;Finally, concatenate the filtered data with your historical dataset.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Oct 2025 09:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load/m-p/2532971#M108167</guid>
      <dc:creator>Amit_Prajapati</dc:creator>
      <dc:date>2025-10-09T09:07:27Z</dc:date>
    </item>
  </channel>
</rss>

