<?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: Date -&amp;gt; Year query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171328#M888809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this works sort of, I want the table to show only the 200 or so overdues in the straight table rather than all the historic cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do this without changing the script. Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 09:55:02 GMT</pubDate>
    <dc:creator>knightwriter</dc:creator>
    <dc:date>2016-08-25T09:55:02Z</dc:date>
    <item>
      <title>Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171324#M888805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quick query, I have a date field [Car Sale.Anticipated Close Date] and I want to show everything that is overdue in the past two years ie if the anticipated close date is less than today it is overdue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following:&lt;/P&gt;&lt;P&gt;Year([Car Sale.Anticipated Close Date]) &amp;lt;= (Year(Today()) - 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had also used the below to no avail:&lt;/P&gt;&lt;P&gt;InYear([Car Sale.Anticipated Close Date],today(),0) AND [Car Sale.Anticipated Close Date] &amp;lt; Today()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping someone can help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171324#M888805</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171325#M888806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you using this? In the script as a if statement or within the where statement or is this use in front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171325#M888806</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-25T09:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171326#M888807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had it originally as an Expression in a straight table but this showed everything. Im trying to use this in the Dimension section on the field name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171326#M888807</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2016-08-25T09:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171327#M888808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So are you trying something like this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(Year([Car Sale.Anticipated Close Date]) &amp;lt;= (Year(Today()) - 1), &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Car Sale.Anticipated Close Date])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171327#M888808</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-25T09:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171328#M888809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this works sort of, I want the table to show only the 200 or so overdues in the straight table rather than all the historic cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do this without changing the script. Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171328#M888809</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2016-08-25T09:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171329#M888810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So when you say it sort of work, what is the part that is working? Did you also remember to check 'Suppress When Value Is Null' on the dimension tab for this calculated dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 09:56:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171329#M888810</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-25T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171330#M888811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What works is that I can see the data from this year and last year (as per the formula) but also shows all the overdue data from 2003. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;es, I have selected the suppress button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 10:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171330#M888811</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2016-08-25T10:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171331#M888812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I solved it by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If([Car.Status]='Open' AND InYear([Car.Anticipated Close Date],today(),0) AND [Car.Anticipated Close Date] &amp;lt; Today(),[Car Opp Id])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 10:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171331#M888812</guid>
      <dc:creator>knightwriter</dc:creator>
      <dc:date>2016-08-25T10:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date -&gt; Year query</title>
      <link>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171332#M888813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 10:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-gt-Year-query/m-p/1171332#M888813</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-25T10:44:26Z</dc:date>
    </item>
  </channel>
</rss>

