<?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 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2038958#M85598</link>
    <description>&lt;P style="color: #252525;"&gt;Hello everyone,&lt;/P&gt;
&lt;P style="color: #252525;"&gt;I need help with the creation of a date filter.&lt;/P&gt;
&lt;P style="color: #252525;"&gt;I want to create a filter with 3 options: all days until 30 days from today, all days until 60 days from today, and all days until 90 days from today.&lt;/P&gt;
&lt;P style="color: #252525;"&gt;I have a canonical table with the date column. To create the filter, I added the filter visualization and the code:&lt;/P&gt;
&lt;P&gt;If ( DaysDifference&amp;lt;= 30, '30days',&lt;/P&gt;
&lt;P&gt;If ( DaysDifference&amp;lt;= 60, '60days',&lt;/P&gt;
&lt;P&gt;If ( DaysDifference&amp;lt;= 90, '90days' ) ) )&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The problem is that when I select the 60 days filter, I get the information from 30-60 days and not all the dates before 60 days.&lt;BR /&gt;&lt;BR /&gt;Do you know how to solve this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 22:08:40 GMT</pubDate>
    <dc:creator>kbautist</dc:creator>
    <dc:date>2023-02-16T22:08:40Z</dc:date>
    <item>
      <title>Date Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2038958#M85598</link>
      <description>&lt;P style="color: #252525;"&gt;Hello everyone,&lt;/P&gt;
&lt;P style="color: #252525;"&gt;I need help with the creation of a date filter.&lt;/P&gt;
&lt;P style="color: #252525;"&gt;I want to create a filter with 3 options: all days until 30 days from today, all days until 60 days from today, and all days until 90 days from today.&lt;/P&gt;
&lt;P style="color: #252525;"&gt;I have a canonical table with the date column. To create the filter, I added the filter visualization and the code:&lt;/P&gt;
&lt;P&gt;If ( DaysDifference&amp;lt;= 30, '30days',&lt;/P&gt;
&lt;P&gt;If ( DaysDifference&amp;lt;= 60, '60days',&lt;/P&gt;
&lt;P&gt;If ( DaysDifference&amp;lt;= 90, '90days' ) ) )&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The problem is that when I select the 60 days filter, I get the information from 30-60 days and not all the dates before 60 days.&lt;BR /&gt;&lt;BR /&gt;Do you know how to solve this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 22:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2038958#M85598</guid>
      <dc:creator>kbautist</dc:creator>
      <dc:date>2023-02-16T22:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2039128#M85610</link>
      <description>&lt;P&gt;hi may be this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If((&lt;SPAN&gt;DaysDifference&lt;/SPAN&gt;&amp;lt;=30,'30 Days',&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If((&lt;SPAN&gt;DaysDifference&lt;/SPAN&gt; &amp;gt;30 and &lt;SPAN&gt;DaysDifference&lt;/SPAN&gt; &amp;lt;=60,'60 Days' ,&lt;/P&gt;
&lt;P&gt;If(&lt;SPAN&gt;DaysDifference&lt;/SPAN&gt; &amp;gt;60 and &lt;SPAN&gt;DaysDifference&lt;/SPAN&gt; &amp;lt;=90,'90 Days' ,'More than 90 days')))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 09:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2039128#M85610</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2023-02-17T09:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2039685#M85676</link>
      <description>&lt;P&gt;with an above if () block one date can only be under one classfication&lt;/P&gt;
&lt;P&gt;you need to create multiple fields , refer below example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calendar:&lt;/P&gt;
&lt;P&gt;Date,Month,Year,..........&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,If ( DaysDifference&amp;lt;= 30, 1) as 30days&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,If ( DaysDifference&amp;lt;= 60, 1) as&amp;nbsp;60days&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;,If ( DaysDifference&amp;lt;= 90, 1) as&amp;nbsp;90days&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CrossTable(Period,PeriodVal,1)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load Date,30days,60days,90days&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Resident Calendar;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use the &lt;STRONG&gt;Period field as filter&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;refer below for more&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/t5/Member-Articles/Period-Presets-Compare-Periods-on-the-fly/ta-p/1486371" target="_blank" rel="noopener"&gt;Period Presets: Compare Periods on the fly - Qlik Community - 1486371&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 06:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2039685#M85676</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2023-02-20T06:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date Filter</title>
      <link>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2040613#M85736</link>
      <description>&lt;P&gt;Thank you Vinieme,&lt;BR /&gt;&lt;BR /&gt;That was exatly what I was looking for. I had a bridge table in my example, so what I did was to add those three columns in my table and do a crosstable in that one so that I could have all the filters.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 20:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-Filter/m-p/2040613#M85736</guid>
      <dc:creator>kbautist</dc:creator>
      <dc:date>2023-02-21T20:46:27Z</dc:date>
    </item>
  </channel>
</rss>

