<?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 If Then Statement - Loading Date Ages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568821#M1119396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;In my load statements I want to do the following:&lt;/P&gt;&lt;P&gt;Calculate the age of an open record (Today - Create Date)&amp;nbsp; as "Age (Days)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then want to use Age Days to categorize in a field called "Days Open". I am using an if/then statement that will enter into the field "&amp;lt;30" for records with ages less than 30, "31-60" for those that fit that criteria, "61-90" for the next and the all others "&amp;gt;90" etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Age (Days) seems to calculate all right, but I get an error from my nested if/then statments ([Age (Days)] not found).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I not use [Age (Days)] in the statement? Or do I have to paste the formula at each instance?&amp;nbsp; See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;[Create Date]&lt;/SPAN&gt;, &lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Close Date]&lt;/SPAN&gt;, &lt;BR /&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;())-&lt;SPAN style="color: #800000;"&gt;[Create Date]&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;=30, '&amp;lt;=30',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;30 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;61, '31-60',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;60 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;91, '61-90',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;90 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;180, '91-180',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;180 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;365, '181-365',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;gt;365'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )))))&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Days Open]&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;etc....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jan 2014 23:16:45 GMT</pubDate>
    <dc:creator>jmonroe918</dc:creator>
    <dc:date>2014-01-25T23:16:45Z</dc:date>
    <item>
      <title>If Then Statement - Loading Date Ages</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568821#M1119396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;In my load statements I want to do the following:&lt;/P&gt;&lt;P&gt;Calculate the age of an open record (Today - Create Date)&amp;nbsp; as "Age (Days)".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then want to use Age Days to categorize in a field called "Days Open". I am using an if/then statement that will enter into the field "&amp;lt;30" for records with ages less than 30, "31-60" for those that fit that criteria, "61-90" for the next and the all others "&amp;gt;90" etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Age (Days) seems to calculate all right, but I get an error from my nested if/then statments ([Age (Days)] not found).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I not use [Age (Days)] in the statement? Or do I have to paste the formula at each instance?&amp;nbsp; See below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;[Create Date]&lt;/SPAN&gt;, &lt;BR /&gt;&lt;SPAN style="color: #800000;"&gt;[Close Date]&lt;/SPAN&gt;, &lt;BR /&gt;(&lt;SPAN style="color: #0000ff;"&gt;Today&lt;/SPAN&gt;())-&lt;SPAN style="color: #800000;"&gt;[Create Date]&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;=0 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;=30, '&amp;lt;=30',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;30 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;61, '31-60',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;60 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;91, '61-90',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;90 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;180, '91-180',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;180 &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;365, '181-365',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;gt;365'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )))))&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[Days Open]&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;etc....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 23:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568821#M1119396</guid>
      <dc:creator>jmonroe918</dc:creator>
      <dc:date>2014-01-25T23:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: If Then Statement - Loading Date Ages</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568822#M1119397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are trying to use the field that is not yet available...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load [Create Date], &lt;/P&gt;&lt;P&gt;[Close Date], &lt;/P&gt;&lt;P&gt;[Age (Days)],&lt;/P&gt;&lt;P&gt;IF([Age (Days)]&amp;gt;=0 and [Age (Days)]&amp;lt;=30, '&amp;lt;=30',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Age (Days)]&amp;gt;30 and [Age (Days)]&amp;lt;61, '31-60',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Age (Days)]&amp;gt;60 and [Age (Days)]&amp;lt;91, '61-90',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Age (Days)]&amp;gt;90 and [Age (Days)]&amp;lt;180, '91-180',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Age (Days)]&amp;gt;180 and [Age (Days)]&amp;lt;365, '181-365',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;gt;365'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Days Open]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[Create Date], &lt;/P&gt;&lt;P&gt;[Close Date], &lt;/P&gt;&lt;P&gt;(Today())-[Create Date] as [Age (Days)]&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 23:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568822#M1119397</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2014-01-25T23:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: If Then Statement - Loading Date Ages</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568823#M1119399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor412"&gt;&lt;/A&gt;&lt;A name="class"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;You can use the class function.. From Ref manual...&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;class(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expression, interval [ , label [ , offset ]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Creates a classification of &lt;SPAN class="Italic"&gt;expressions&lt;/SPAN&gt;. The bin width is determined by the number set as &lt;SPAN class="Italic"&gt;interval&lt;/SPAN&gt;. The result is shown as a&amp;lt;=x&amp;lt;b, where a and b are the upper and lower limits of the bin. The x can be replaced by an arbitrary string stated in &lt;SPAN class="Italic"&gt;label&lt;/SPAN&gt;. 0 is normally the default starting point of the classification. This can be changed by adding an &lt;SPAN class="Italic"&gt;offset&lt;/SPAN&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jan 2014 00:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568823#M1119399</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2014-01-26T00:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: If Then Statement - Loading Date Ages</title>
      <link>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568824#M1119401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar to previous post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-family: inherit; font-style: inherit; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;*, &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;=0 &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;=30, '&amp;lt;=30',&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;30 &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;61, '31-60',&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;60 &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;91, '61-90',&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;90 &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;180, '91-180',&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;IF&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;gt;180 &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)]&lt;/SPAN&gt;&amp;lt;365, '181-365',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&amp;gt;365'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ))))) &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Days Open];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Create Date]&lt;/SPAN&gt;, &lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Close Date]&lt;/SPAN&gt;, &lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Today&lt;/SPAN&gt;()-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Create Date])&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;[Age (Days)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;etc....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 04:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Then-Statement-Loading-Date-Ages/m-p/568824#M1119401</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-01-27T04:24:15Z</dc:date>
    </item>
  </channel>
</rss>

