<?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: filter date for the last 2 dates in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848853#M33846</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you already checked posts on similar topic? For example&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/date-filter-gives-error/td-p/1789718" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/date-filter-gives-error/td-p/1789718&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
    <pubDate>Tue, 19 Oct 2021 13:15:16 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2021-10-19T13:15:16Z</dc:date>
    <item>
      <title>filter date for the last 2 dates</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848795#M33844</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;
&lt;P&gt;I want to filter my report with a filter to get data for only he last two days (max date, max date -1, max date -2).&lt;/P&gt;
&lt;P&gt;I created this filter&amp;nbsp; which doesn't work with Advanced Search like :&amp;nbsp;&lt;SPAN&gt;=([MyDate]&amp;gt;=max(date([MyDate])-2))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you perhaps know how I can do this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 12:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848795#M33844</guid>
      <dc:creator>ioannagr</dc:creator>
      <dc:date>2021-10-19T12:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: filter date for the last 2 dates</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848853#M33846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you already checked posts on similar topic? For example&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/date-filter-gives-error/td-p/1789718" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/date-filter-gives-error/td-p/1789718&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 13:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848853#M33846</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-10-19T13:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: filter date for the last 2 dates</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848910#M33848</link>
      <description>&lt;P&gt;Hello, Ruggero,&lt;/P&gt;
&lt;P&gt;yes I looked around but didn't find anything that worked for me.&lt;/P&gt;
&lt;P&gt;Only when i did, evaluate :&amp;nbsp; max(MyDate),&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add value : max(MyDate)-1&lt;/P&gt;
&lt;P&gt;add value: max(MyDate)-2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but i was/am&amp;nbsp; interested in handling that with an expression...&amp;nbsp; Anything i do with the form of one,ends up making no filtering at all to data.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 14:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1848910#M33848</guid>
      <dc:creator>ioannagr</dc:creator>
      <dc:date>2021-10-19T14:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: filter date for the last 2 dates</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1849136#M33855</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Have you tested your Advanced search syntax directly in Qlik Sense filterpane? That is the first thing to do!&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1634678830113.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/64786i0D01AD0DA9C1DEB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1634678830113.png" alt="Lech_Miszkiewicz_0-1634678830113.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your [MyDate] field is loaded to Qlik as a Date/Integer type either of below formulas will work without issues:&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;=[MyDate]&amp;gt;=$(=max([MyDate]) - 2)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;=[MyDate]&amp;gt;=$(=max([MyDate] - 2))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;cheers&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3" color="#000000"&gt;Lech&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 21:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1849136#M33855</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-10-19T21:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: filter date for the last 2 dates</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1849139#M33856</link>
      <description>&lt;P&gt;more regarding filters here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nprintingadventures.com/category/nprinting/filters/" target="_blank"&gt;https://nprintingadventures.com/category/nprinting/filters/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 21:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/filter-date-for-the-last-2-dates/m-p/1849139#M33856</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-10-19T21:36:19Z</dc:date>
    </item>
  </channel>
</rss>

