<?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: Conditional Date Range Filter in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800486#M32002</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There are some similar examples that uses Advanced Search at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/error-in-filter/td-p/1799765" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/error-in-filter/td-p/1799765&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/filter-of-a-range-of-date/td-p/1799902" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/filter-of-a-range-of-date/td-p/1799902&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My suggestion is to first develop the advanced search directly in the source Qlik Sense app then copy the formula in a Qlik NPrinting filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer to&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-9" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-9&lt;/A&gt;&amp;nbsp;I also suggest to read the whole page about filters.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 12:52:32 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2021-04-19T12:52:32Z</dc:date>
    <item>
      <title>Conditional Date Range Filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800460#M32001</link>
      <description>&lt;P&gt;Good Day,&lt;/P&gt;&lt;P&gt;If this topic has already been discussed I apologize.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to Nprinting and do want to create a dynamic filter for automisation purposes.&lt;/P&gt;&lt;P&gt;The following shall be expressed:&lt;/P&gt;&lt;P&gt;If the current day of the month is greater than 20, then show me/select all months from the start of the year until last month, else&amp;nbsp;then show me/select all months from the start of the year until second to last month.&lt;/P&gt;&lt;P&gt;E.g., on the 22nd of April, the months January until March shall be shown. On the 1st of Mai, the&amp;nbsp;the months January until March shall be shown as well until the 20th of Mai and so on.&lt;/P&gt;&lt;P&gt;Any ideas how and where (Advanced Search?) to approach this issue? Do you need more info?&lt;/P&gt;&lt;P&gt;Btw.: I cannot change the script, so I can't flag the months.&lt;/P&gt;&lt;P&gt;Thanks in advance and kind regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 11:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800460#M32001</guid>
      <dc:creator>StefanE</dc:creator>
      <dc:date>2021-04-19T11:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Date Range Filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800486#M32002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There are some similar examples that uses Advanced Search at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/error-in-filter/td-p/1799765" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/error-in-filter/td-p/1799765&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/filter-of-a-range-of-date/td-p/1799902" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/filter-of-a-range-of-date/td-p/1799902&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My suggestion is to first develop the advanced search directly in the source Qlik Sense app then copy the formula in a Qlik NPrinting filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer to&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-9" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-9&lt;/A&gt;&amp;nbsp;I also suggest to read the whole page about filters.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 12:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800486#M32002</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-04-19T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Date Range Filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800792#M32022</link>
      <description>&lt;P&gt;Hi Ruggero,&lt;/P&gt;&lt;P&gt;Your approach totally worked for me. I tweaked it a little bit with an if statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(day(today())&amp;gt;19, [YearMonth]&amp;lt;=(year(addmonths(today(), -1)))*100 + MONTH(addmonths(today(), -1)), [YearMonth]&amp;lt;=(year(addmonths(today(), -1)))*100 + MONTH(addmonths(today(), -2)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much for your support!&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 07:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800792#M32022</guid>
      <dc:creator>StefanE</dc:creator>
      <dc:date>2021-04-20T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Date Range Filter</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800824#M32024</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Happy to hear that you solved. Thanks for sharing the solution in the community: it will be a useful example for other readers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 08:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditional-Date-Range-Filter/m-p/1800824#M32024</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-04-20T08:14:23Z</dc:date>
    </item>
  </channel>
</rss>

