<?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: Show only dates 120 days out from today in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494499#M102452</link>
    <description>&lt;P&gt;Try using a Qlik Native table object to check if it produces the &lt;I&gt;&lt;U&gt;expect results&lt;/U&gt;&lt;/I&gt; or the same &lt;I&gt;&lt;U&gt;unexpected results&lt;/U&gt;&lt;/I&gt;.&lt;/P&gt;
&lt;P&gt;Also check if there are any always &lt;I&gt;one selected values&lt;/I&gt; in your data fields that might be skewing the results incorrectly.&lt;/P&gt;
&lt;P&gt;&lt;IMG style="width:53.83%;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/f5cde6ec-6860-476b-b1d1-63bce3e091e8.default.png" /&gt;&lt;/P&gt;
&lt;P&gt;Kind regards.,,&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2024 18:47:02 GMT</pubDate>
    <dc:creator>Frank_S</dc:creator>
    <dc:date>2024-11-25T18:47:02Z</dc:date>
    <item>
      <title>Show only dates 120 days out from today</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494484#M102444</link>
      <description>&lt;P&gt;Greetings folks,&lt;/P&gt;
&lt;P&gt;I have a table (vizlib) where one of the columns need to show only records 120 days from today. I have Googled this for a couple days now and I found two scripts that kind of work in my set expression:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if([Agency Deadline]&amp;gt;=today() or [Agency Deadline]&amp;lt;=today()+120,[Agency Deadline])

( {&amp;lt;[Agency Deadline]={"&amp;gt;=$(=Date((Max(Date)+120)))"}&amp;gt;} [Agency Deadline] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;The problem is I am still getting dates greater than 120 days. My date field is a timestamp if that helps. I am converting it from a timestamp to a date field in the Load script:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date([Baseline Due Date],'MM/DD/YYYY') AS [Agency Deadline]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 17:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494484#M102444</guid>
      <dc:creator>bruce_sorge</dc:creator>
      <dc:date>2024-11-25T17:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show only dates 120 days out from today</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494499#M102452</link>
      <description>&lt;P&gt;Try using a Qlik Native table object to check if it produces the &lt;I&gt;&lt;U&gt;expect results&lt;/U&gt;&lt;/I&gt; or the same &lt;I&gt;&lt;U&gt;unexpected results&lt;/U&gt;&lt;/I&gt;.&lt;/P&gt;
&lt;P&gt;Also check if there are any always &lt;I&gt;one selected values&lt;/I&gt; in your data fields that might be skewing the results incorrectly.&lt;/P&gt;
&lt;P&gt;&lt;IMG style="width:53.83%;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/f5cde6ec-6860-476b-b1d1-63bce3e091e8.default.png" /&gt;&lt;/P&gt;
&lt;P&gt;Kind regards.,,&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 18:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494499#M102452</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2024-11-25T18:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show only dates 120 days out from today</title>
      <link>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494501#M102453</link>
      <description>&lt;P&gt;Thanks for the answer but that didn't work. Exactly same result. I ended up ditching the vizlib table and went with a native qlik table and entered this expression into the expression editor for the date column and it worked.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=If(Date([Agency Deadline],'MM/DD/YYYY') &amp;lt;= AddMonths(Today(), 3), [Agency Deadline])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And that is working fine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 12:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Show-only-dates-120-days-out-from-today/m-p/2494501#M102453</guid>
      <dc:creator>bruce_sorge</dc:creator>
      <dc:date>2024-12-02T12:19:51Z</dc:date>
    </item>
  </channel>
</rss>

