<?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 Date filter with Nprinting show error in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553045#M22894</link>
    <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;im new in Nprinting tool, i want to create excell report.&lt;/P&gt;&lt;P&gt;I want to filter all the row where&amp;nbsp;DATESUIVI equal to last day of month before.&lt;/P&gt;&lt;P&gt;My DATESUIVI is in this format 28/02/2019.&lt;/P&gt;&lt;P&gt;In Nprinting filter i put de filter field DATESUIVI&amp;nbsp;like this:&amp;nbsp; =MonthEnd(AddMonths(today(0), -1))&lt;/P&gt;&lt;P&gt;In load script i have this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;monthend(CCLDAT3) as DATESUIVI&lt;/P&gt;&lt;P&gt;and this in main statement:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P&gt;When i preview the excell report, i have the error below :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="print.JPG" style="width: 977px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7381i134EC3431F415203/image-size/large?v=v2&amp;amp;px=999" role="button" title="print.JPG" alt="print.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help !&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 15:16:30 GMT</pubDate>
    <dc:creator>soka41</dc:creator>
    <dc:date>2019-03-06T15:16:30Z</dc:date>
    <item>
      <title>Date filter with Nprinting show error</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553045#M22894</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;im new in Nprinting tool, i want to create excell report.&lt;/P&gt;&lt;P&gt;I want to filter all the row where&amp;nbsp;DATESUIVI equal to last day of month before.&lt;/P&gt;&lt;P&gt;My DATESUIVI is in this format 28/02/2019.&lt;/P&gt;&lt;P&gt;In Nprinting filter i put de filter field DATESUIVI&amp;nbsp;like this:&amp;nbsp; =MonthEnd(AddMonths(today(0), -1))&lt;/P&gt;&lt;P&gt;In load script i have this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;monthend(CCLDAT3) as DATESUIVI&lt;/P&gt;&lt;P&gt;and this in main statement:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P&gt;When i preview the excell report, i have the error below :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="print.JPG" style="width: 977px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7381i134EC3431F415203/image-size/large?v=v2&amp;amp;px=999" role="button" title="print.JPG" alt="print.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help !&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 15:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553045#M22894</guid>
      <dc:creator>soka41</dc:creator>
      <dc:date>2019-03-06T15:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with Nprinting show error</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553266#M22907</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you are not the first one who has issues with Date filters. I guess your issue is around date as such (which should be ralated in filter to as to a number, but also MonthEnd which produces TimeStamp (normally not visible due to date formatting. Short suggestion would be to use floor function when you are loading dates in your script as well as floor function when you are building your filte together with "&lt;STRONG&gt;numeric value is"....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;here you can find a short overview how to deal with it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://nprintingadventures.wordpress.com/2019/02/15/the-pitfalls-of-nprinting-filters-part-1-dates-and-duals" target="_blank"&gt;https://nprintingadventures.wordpress.com/2019/02/15/the-pitfalls-of-nprinting-filters-part-1-dates-and-duals&lt;/A&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 23:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553266#M22907</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-03-06T23:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with Nprinting show error</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553349#M22914</link>
      <description>&lt;P&gt;Thank you, i solved the problem, my expression was correct, but the problem is at the template edition.&lt;/P&gt;&lt;P&gt;i added a new fields in qliksense load statement but in nprinting template editor, i dont see my new fields even if i uptade the template the objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 08:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553349#M22914</guid>
      <dc:creator>soka41</dc:creator>
      <dc:date>2019-03-07T08:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with Nprinting show error</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553358#M22915</link>
      <description>You have to regenerate metadata in connection to see new added fields in template editor</description>
      <pubDate>Thu, 07 Mar 2019 08:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Date-filter-with-Nprinting-show-error/m-p/1553358#M22915</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2019-03-07T08:08:34Z</dc:date>
    </item>
  </channel>
</rss>

