<?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 Dynamic Filter to filter by last /previous years in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471788#M99733</link>
    <description>&lt;P&gt;=Year =Max(Year) works fine in filtering out max year&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlikuser09_0-1721410403319.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169629i85CB97B51A417E62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qlikuser09_0-1721410403319.png" alt="Qlikuser09_0-1721410403319.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;, but&amp;nbsp;=Year =Max(Year) -1 or&amp;nbsp;Year = {"$(=Max(Year) - 3)"} not filtering out anything giving me null values in Year filter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlikuser09_1-1721410470328.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169630iD5F6B3A58C3D866E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qlikuser09_1-1721410470328.png" alt="Qlikuser09_1-1721410470328.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 20:54:35 GMT</pubDate>
    <dc:creator>Qlikuser09</dc:creator>
    <dc:date>2024-11-15T20:54:35Z</dc:date>
    <item>
      <title>Dynamic Filter to filter by last /previous years</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471788#M99733</link>
      <description>&lt;P&gt;=Year =Max(Year) works fine in filtering out max year&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlikuser09_0-1721410403319.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169629i85CB97B51A417E62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qlikuser09_0-1721410403319.png" alt="Qlikuser09_0-1721410403319.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;, but&amp;nbsp;=Year =Max(Year) -1 or&amp;nbsp;Year = {"$(=Max(Year) - 3)"} not filtering out anything giving me null values in Year filter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlikuser09_1-1721410470328.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169630iD5F6B3A58C3D866E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qlikuser09_1-1721410470328.png" alt="Qlikuser09_1-1721410470328.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471788#M99733</guid>
      <dc:creator>Qlikuser09</dc:creator>
      <dc:date>2024-11-15T20:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter to filter by last /previous years</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471797#M99736</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147046"&gt;@Qlikuser09&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see it like this:&lt;BR /&gt;&lt;BR /&gt;=FieldYear=$(=max(FieldYear))&amp;nbsp; -&amp;gt; current&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;=FieldYear=$(=max(FieldYear))-1&amp;nbsp; -&amp;gt; previous&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=FieldYear=Year(Today()) -&amp;gt; currect&lt;BR /&gt;=FieldYear=Year(Today())-1 -&amp;gt; &lt;SPAN&gt;previous&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Matheus&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 17:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471797#M99736</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-07-19T17:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter to filter by last /previous years</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471830#M99738</link>
      <description>&lt;P&gt;thanks, the above formula (&lt;SPAN&gt;Year=Year(Today())-1)&lt;/SPAN&gt;worked well for previous year to filter by . but i have data like below i wanted to filter by last three days or&amp;nbsp;from current calendar date at midnight. what formula can be used in this case to filter by&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;{&amp;lt; DateField= {"=DateField&amp;gt;= Date(Today() - 2) and Datefield&amp;lt;= Date(Today())"} &amp;gt;}&amp;nbsp; or&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN&gt;=[Datefield]&amp;lt;=$(=max(DateField))-1&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;is not working and rendering any results&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlikuser09_0-1721418135000.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169650i4994359D0C87825E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qlikuser09_0-1721418135000.png" alt="Qlikuser09_0-1721418135000.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 19:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471830#M99738</guid>
      <dc:creator>Qlikuser09</dc:creator>
      <dc:date>2024-07-19T19:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter to filter by last /previous years</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471833#M99739</link>
      <description>&lt;P&gt;Cool, try this&lt;BR /&gt;&lt;BR /&gt;=FieldDate&amp;gt;=today()-2 and FieldDate&amp;lt;today() -&amp;gt;&amp;nbsp;Does not include today's date&lt;BR /&gt;&lt;BR /&gt;=FieldDate&amp;gt;=today()-2 and FieldDate&amp;lt;=today() -&amp;gt;&amp;nbsp;includes today's date&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Matheus&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 20:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2471833#M99739</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-07-19T20:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter to filter by last /previous years</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2472768#M99813</link>
      <description>&lt;P&gt;currently the "field Date" is not in the date format , is there way we could filter by the latest 3 dates without having to change the data model. (it works with only when filtered by year , but not with date or month)&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 18:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2472768#M99813</guid>
      <dc:creator>Qlikuser09</dc:creator>
      <dc:date>2024-07-24T18:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter to filter by last /previous years</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2473060#M99842</link>
      <description>&lt;P&gt;If you can incorporate it into the script by creating a new field, that would certainly be the best way. However, you can also insert this formatting into your search filter&lt;BR /&gt;&lt;BR /&gt;=Date(Floor(TimeStamp#(&lt;SPAN&gt;FieldDateTime&lt;/SPAN&gt;, 'DD/MM/YYYY hh:mm:ss TT')), 'DD/MM/YYYY')&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 18:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Filter-to-filter-by-last-previous-years/m-p/2473060#M99842</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-07-25T18:40:40Z</dc:date>
    </item>
  </channel>
</rss>

