<?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: issues when filtering on date column in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1874868#M1507</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/152714"&gt;@RichJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Noticed this article went to wrong area:&amp;nbsp;Qlik Community --&amp;gt; Forums --&amp;gt; Data Analytics --&amp;gt; Qlik Sense --&amp;gt; App Development.&lt;/P&gt;&lt;P&gt;Can you close this one and open a new one in Replicate area? I'd like to help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Dec 2021 02:38:41 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2021-12-24T02:38:41Z</dc:date>
    <item>
      <title>issues when filtering on date column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1872420#M1506</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I need to filter source data from SQL Server DB on a date column, but got the error:&lt;/P&gt;
&lt;P&gt;[SQL Server]The conversion of a varchar data type to a datetime data type resulted in an out-of-range value. Line: 1 Column: -1 [1022502] (ar_odbc_stmt.c:2789)&lt;BR /&gt;00014552: 2021-12-16T18:27:54 [SOURCE_UNLOAD ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 16945 Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The cursor was not declared. Line: 1 Column: -1 [1022502]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The filter I used is&amp;nbsp; "&lt;SPAN class="ng-binding"&gt;Greater than or equal to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ng-binding"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="ellipsisStyle" target="_blank"&gt;&lt;SPAN class="ng-binding"&gt;'2020-01-01 00:00:00.000'",&amp;nbsp; but it did not work.&amp;nbsp; Then I tried to use&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;CONVERT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;datetime&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'2020-01-01&amp;nbsp;00:00:00.000'&lt;/SPAN&gt;&lt;SPAN&gt;) as below:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichJ_0-1639708684164.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68802i888EACE81263BB1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichJ_0-1639708684164.png" alt="RichJ_0-1639708684164.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but when I click the edit, it shows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RichJ_1-1639708961119.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68803i03B03C266DCF7F07/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichJ_1-1639708961119.png" alt="RichJ_1-1639708961119.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks for help,&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 02:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1872420#M1506</guid>
      <dc:creator>RichJ</dc:creator>
      <dc:date>2021-12-17T02:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: issues when filtering on date column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1874868#M1507</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/152714"&gt;@RichJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Noticed this article went to wrong area:&amp;nbsp;Qlik Community --&amp;gt; Forums --&amp;gt; Data Analytics --&amp;gt; Qlik Sense --&amp;gt; App Development.&lt;/P&gt;&lt;P&gt;Can you close this one and open a new one in Replicate area? I'd like to help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 02:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1874868#M1507</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-12-24T02:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: issues when filtering on date column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1876025#M1508</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/152714"&gt;@RichJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Not very sure what's the column data type in your expression. I'm using DATE column for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;create table testdt (id integer not null primary key, name char(20),dt date);

insert into testdt values (2,'A','2021-11-02');
insert into testdt values (4,'B','2021-12-20');&lt;/LI-CODE&gt;&lt;P&gt;Trying to get the rows which DT greater or equal than 2021-12-01, the screen copy of the demo:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1640848344982.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69375i2873B7A63F5600E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1640848344982.png" alt="john_wang_0-1640848344982.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1640848359413.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69376i4712B4E564C93B7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1640848359413.png" alt="john_wang_1-1640848359413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need further assistance, please let me know the SQL how to create the demo table and prepare the demo rows, I'd like to show you how to use the filter.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 07:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/issues-when-filtering-on-date-column/m-p/1876025#M1508</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-12-30T07:14:39Z</dc:date>
    </item>
  </channel>
</rss>

