<?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 Age() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356839#M1170790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field(ClaimDate). I need to calculate the age of claims. I have acheived it by using below expression.&lt;/P&gt;&lt;P&gt;=TimeStamp(Now()-ClaimDate,'hh:mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use Age function in this secenerio? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2012 12:42:39 GMT</pubDate>
    <dc:creator>krishnacbe</dc:creator>
    <dc:date>2012-07-18T12:42:39Z</dc:date>
    <item>
      <title>Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356839#M1170790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field(ClaimDate). I need to calculate the age of claims. I have acheived it by using below expression.&lt;/P&gt;&lt;P&gt;=TimeStamp(Now()-ClaimDate,'hh:mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I use Age function in this secenerio? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356839#M1170790</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2012-07-18T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356840#M1170791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Interval(Now()-ClaimDate,'hh:mm')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356840#M1170791</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2012-07-18T12:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356841#M1170792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your fast reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In either cases, my Dashboard is getting refreshed frequently. Dashboard contains more records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 12:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356841#M1170792</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2012-07-18T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356842#M1170793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kriamam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see any reason why you couldn't use Age() function to calculate age of the claim. Please follow this syntax&lt;/P&gt;&lt;P&gt;age(timestamp(Now()),date_of_birth (&lt;EM&gt;which in your case it will be&lt;/EM&gt; &lt;STRONG&gt;CLAIM DATE&lt;/STRONG&gt;)) &lt;STRONG&gt;meaning age(now(),claim_date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 13:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356842#M1170793</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2012-07-18T13:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356843#M1170794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gabsus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use age(timestamp(Now()),claimdate), I am getting data in list box as -1 and 0.&amp;nbsp; My requirement is to display the age in days/Hours/Minutes.&lt;/P&gt;&lt;P&gt;&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, 18 Jul 2012 14:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356843#M1170794</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2012-07-18T14:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356844#M1170795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use the Age function since it will return only integer values for years. If you just use Now() - claimdate the result will be the difference in days. For hour and minutes you can use krishnamoorthy suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cesar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356844#M1170795</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2012-07-18T14:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356845#M1170796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a format code that includes the days, check out the format codes section in the HELP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(Now()-ClaimDate,'dd hh:mm')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356845#M1170796</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-18T14:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Age() function</title>
      <link>https://community.qlik.com/t5/QlikView/Age-function/m-p/356846#M1170797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case what I will do is to use IF(&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;age(now(),claim_date&lt;/STRONG&gt; &amp;lt;0, &lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;age(now(),-claim_date,&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;age(now(),claim_date)) &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;this should give you right integer format.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Let me know if this is helpful or not&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Regards,&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Gab&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-function/m-p/356846#M1170797</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2012-07-18T14:27:05Z</dc:date>
    </item>
  </channel>
</rss>

