<?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 Problem with a YearMonth filter in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787391#M31345</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to generate a report with the following filter: YearMonth = 202102. But it does not work. I also tried with&amp;nbsp;YearMonth = '202102' and&amp;nbsp;YearMonth = "202102". The other two filters works when I eliminate the YearMonth filter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture4.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50215i19D6CE14AD0823D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture4.png" alt="capture4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know which should be the YearMonth filter format.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Mar 2021 09:43:56 GMT</pubDate>
    <dc:creator>mtabernad</dc:creator>
    <dc:date>2021-03-02T09:43:56Z</dc:date>
    <item>
      <title>Problem with a YearMonth filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787391#M31345</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to generate a report with the following filter: YearMonth = 202102. But it does not work. I also tried with&amp;nbsp;YearMonth = '202102' and&amp;nbsp;YearMonth = "202102". The other two filters works when I eliminate the YearMonth filter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture4.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/50215i19D6CE14AD0823D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture4.png" alt="capture4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know which should be the YearMonth filter format.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 09:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787391#M31345</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2021-03-02T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a YearMonth filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787419#M31346</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be very simple but it comes down to the method this field was created. Can you share the script which creates this field in Qlik Sense?&lt;/P&gt;&lt;P&gt;Depending on that datatype may be different. If it is traditional approach you would have script like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date(Floor(MonthStart(somedate)),'YYYYMM') as YearMonth&lt;/LI-CODE&gt;&lt;P&gt;if that is the case then your filter should be numerical value of that date - (see link to my blog to learn what are the numerical representations of dates...)&lt;/P&gt;&lt;P&gt;If it is different then we have to know what it is otherwise we just guess it (same as you are at the moment)&lt;/P&gt;&lt;P&gt;the basics are also covered at &lt;A href="https://help.qlik.com" target="_blank"&gt;https://help.qlik.com&lt;/A&gt;&amp;nbsp;and I have written few posts about the most common issues with NPrinting filters which you can read here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://nprintingadventures.com/2019/02/15/the-pitfalls-of-nprinting-filters-part-1-dates-and-duals/" target="_blank"&gt;https://nprintingadventures.com/2019/02/15/the-pitfalls-of-nprinting-filters-part-1-dates-and-duals/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787419#M31346</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-03-02T10:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a YearMonth filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787421#M31347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If the field is numeric you have to select "Numeric values is" in the dropdown menu instead of "Value is". Refer to&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/November2020/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-6" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/November2020/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-6&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 10:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-with-a-YearMonth-filter/m-p/1787421#M31347</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-03-02T10:36:25Z</dc:date>
    </item>
  </channel>
</rss>

