<?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 Replicate data with dynamic query in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067768#M5894</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Now we are replicating data from oracle db onpremise to Mysql AWS RDS.&lt;/P&gt;
&lt;P&gt;So, we have several tables with&amp;nbsp; years of data and we want to replicate in a FULL MODE load only the last "x" years.&lt;/P&gt;
&lt;P&gt;We don't want to put the date in "hard code" on table option (filter) so we want to use any kind of function to get the results described on the line up.&lt;/P&gt;
&lt;P&gt;please, your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 15:29:56 GMT</pubDate>
    <dc:creator>wguerrero</dc:creator>
    <dc:date>2023-05-04T15:29:56Z</dc:date>
    <item>
      <title>Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067768#M5894</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Now we are replicating data from oracle db onpremise to Mysql AWS RDS.&lt;/P&gt;
&lt;P&gt;So, we have several tables with&amp;nbsp; years of data and we want to replicate in a FULL MODE load only the last "x" years.&lt;/P&gt;
&lt;P&gt;We don't want to put the date in "hard code" on table option (filter) so we want to use any kind of function to get the results described on the line up.&lt;/P&gt;
&lt;P&gt;please, your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 15:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067768#M5894</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-04T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067775#M5898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135103"&gt;@wguerrero&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to these two knowledge articles and let us know if you have any questions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761" target="_blank"&gt;Filter for last 90 days of data in Qlik Replicate - Qlik Community - 1880761&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate-part-two/ta-p/1980009" target="_blank"&gt;Filter for last 90 days of data in Qlik Replicate ... - Qlik Community - 1980009&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 15:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067775#M5898</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-04T15:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067781#M5899</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Will check and let you know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 16:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2067781#M5899</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-04T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2069817#M5942</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;we checked the documentation and describe that is possible to do some things.&lt;/P&gt;
&lt;P&gt;But we need some help with this query:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My query on oracle source is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select *&lt;BR /&gt;from APP_EPS.PRE_LIQUIDACION_FACTURA&amp;nbsp;&amp;nbsp;&lt;BR /&gt;where FEC_CREACION&amp;gt;= add_months(trunc(to_date(SYSDATE, 'dd/mm/rrrr'), 'Year'), -108);&lt;/P&gt;
&lt;P&gt;And we want to set up this query on the screen1 or screen2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can we translate this query on qlik replicate? and where should I place (please see attached screens).&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 17:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2069817#M5942</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-10T17:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070241#M5953</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;do you have any update?&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 14:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070241#M5953</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-11T14:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070323#M5954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135103"&gt;@wguerrero&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest using the full load pass through filter since you are only running full load on this task, as it will filter on the source rather than selecting all rows and filtering on the Replicate server - it will be more efficient.&lt;/P&gt;
&lt;P&gt;You would only need to specify the where clause portion of your query:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FEC_CREACION&amp;gt;= add_months(trunc(to_date(SYSDATE, 'dd/mm/rrrr'), 'Year'), -108);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;in the full load pass through filter section of the screen.&lt;/P&gt;
&lt;P&gt;You won't see this until you enable the feature in the repctl.cfg file as noted in the link I shared earlier:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Filter-for-last-90-days-of-data-in-Qlik-Replicate/ta-p/1880761" target="_blank"&gt;Filter for last 90 days of data in Qlik Replicate - Qlik Community - 1880761&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 16:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070323#M5954</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-11T16:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070342#M5956</link>
      <description>&lt;P&gt;ok Will set up and let you know.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 17:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070342#M5956</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-11T17:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070360#M5958</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we have done 2 things:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;THING No 1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;One of them was test the line with function as per your request on file attached:&amp;nbsp;screen_error_filter.png,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why we are getting the error?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;THING No 2:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And the second request is about parameter described. We are attaching the&amp;nbsp;cfg file.png file in order you can help. The parameter described on your answer will have to added?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but, this one Will not affect another tasks already setup?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please your kindly help.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 19:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070360#M5958</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-11T19:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070383#M5959</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135103"&gt;@wguerrero&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are on the Transform tab, not the Filter tab.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The field you want to put the expression in is called "Fullload Passthru Filter". You will not see this field until you have successfully enabled in the config file. After enabling it per the below steps, you need to hold down the control key on your keyboard while opening table settings.&lt;/P&gt;
&lt;P&gt;To enable it, put a comma after the last "false" in your screen capture, paste in&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"enable_passthrough_filter": true&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;after this line but before the closing curly bracket.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Then restart the Replicate services and it should be enabled.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 20:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070383#M5959</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-11T20:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070688#M5970</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135103"&gt;@wguerrero&lt;/a&gt;&amp;nbsp; - posting a picture of a notepad is counter productive (silly!) - in future please consider attaching the actual text file or use the &amp;lt;/&amp;gt;&amp;nbsp; edit option for 'Insert code sample' for small chunks of text like here. In either case folks can help you more easily and better by for example copying code and trying or providing edited code as solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- "&lt;SPAN&gt;&lt;EM&gt;do you have any update?&lt;/EM&gt;" Please note that you are posing to a community forum with ZERO update obligations - best effort only. If you need something more formal you should submit a support ticket.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Instead of&amp;nbsp; the configuration option, which would affect every user, all tasks, you could consider to &amp;lt;CONTROL&amp;gt;-CLICK the table needing a pass Thru filter. Next select 'filter' and you'll see the &amp;lt;&lt;STRONG&gt;Fullload Passthru Filter&lt;/STRONG&gt;&amp;gt; edit box available. Once you have done that once I recommend to export the task JSON, look for the filter provided and edit the JSON going forward.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- minro remark - why convert SYSDATE ? You do not need the to_date - it is a date!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SQL&amp;gt; select add_months(trunc(to_date(SYSDATE, 'dd/mm/rrrr'), 'Year'), -108) from dual;
01-JAN-14
SQL&amp;gt; select add_months(trunc(SYSDATE, 'Year'), -108) from dual;
01-JAN-14&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached a picture of the&amp;nbsp;&lt;SPAN&gt;&amp;lt;&lt;STRONG&gt;Fullload Passthru Filter&lt;/STRONG&gt;&amp;gt; screen&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;hth, Hein.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 14:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070688#M5970</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-05-12T14:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070815#M5977</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;thank you all of you.&lt;/P&gt;
&lt;P&gt;Hein, thank you for your response and advices. Will take in count for future help.&lt;/P&gt;
&lt;P&gt;Let me comment my case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We clic CTRL on the table and the double clic as per you said, the Passthru appears but after we try to reload the table&amp;nbsp; shows us an error describing that we must to add the parameter on the config file, but we are afraid to do that, and the question is:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;¿although we will put those parameter on the config file, no one table will be affect unless we put something on the PASSTHRU on that table?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again to both.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 17:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070815#M5977</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-12T17:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070830#M5981</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/135103"&gt;@wguerrero&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes that is correct. Enabling the pass through filter will only affect tables that have a filter specified.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 18:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2070830#M5981</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-12T18:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2071404#M5997</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for your answers, Hein and Dana.&lt;/P&gt;
&lt;P&gt;Hein, we have setup with CTRL + clic on the table on the text box you described. But when we just clic on RUN it shows us a message about we have to put the parameter on CFG file, but we are afraid that something happens with our another tasks.&lt;/P&gt;
&lt;P&gt;But we have setup a workaround, (please check the attached), this action works well and send the data to the target without any problem. But we want to know what is your opinion about this method.&lt;/P&gt;
&lt;P&gt;Please, your kindly help.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2071404#M5997</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-15T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2071413#M5999</link>
      <description>&lt;P&gt;The issue with the workaround using a 'normal' filter action is the the row needs to be transferred to Replicate for it to decide. If 1 in a 100 rows is filtered out then that's fine. If 99 out of each 100 rows are filtered out then that could be a huge waste of resources. If the total resources used are minimal or dirt cheap than go ahead, but if the reources used are expensive/slow, then there is a point where you really want the filtering to be pushed down to the source such that no needles rows are pushed over the network and handled by Replicate. The Replicate level filtering would still be great for 'tweaking', final filters.&amp;nbsp; Getting rid of more most rows to be filtered&amp;nbsp; (more than 30% of all for example) is obviously best done on the source. The source might even have a index to help, avoiding reading rows which are not needed. Not important for 100 rows, critical for 100 million rows.&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:38:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2071413#M5999</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-05-15T14:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate data with dynamic query</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2072067#M6031</link>
      <description>&lt;P&gt;ok Thank you.&lt;/P&gt;
&lt;P&gt;We will take in count your advice.&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 17:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-data-with-dynamic-query/m-p/2072067#M6031</guid>
      <dc:creator>wguerrero</dc:creator>
      <dc:date>2023-05-16T17:26:55Z</dc:date>
    </item>
  </channel>
</rss>

