<?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: Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression/m-p/415588#M570542</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;It should work with Interval() and Min(), because dates in QlikView are numeric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13503093547962683" jivemacro_uid="_13503093547962683"&gt;&lt;P&gt;=Interval(Today() - Min({&amp;lt; Status -= {'Closed', 'Resolved'} &amp;gt;} [Incident Created Date]), 'DD')&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 13:57:00 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2012-10-15T13:57:00Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/415587#M570541</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;My requirement here is: &lt;/P&gt;&lt;P&gt;I have to claculate the difference between dates to measure oldest ticket still in open state:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDatetoday = today's date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Status &amp;lt;&amp;gt; 'Closed' or Status &amp;lt;&amp;gt; 'Resolved'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field which holds the date value = [Incident Created Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following expression but it is getting me the incorrect output.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num($(vDateToday)-(MinString( {1&amp;lt;Status -={'Closed'} &amp;gt;} [Incident Created Date])),'#,##0')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;H&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 13:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/415587#M570541</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-10-15T13:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/415588#M570542</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;It should work with Interval() and Min(), because dates in QlikView are numeric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13503093547962683" jivemacro_uid="_13503093547962683"&gt;&lt;P&gt;=Interval(Today() - Min({&amp;lt; Status -= {'Closed', 'Resolved'} &amp;gt;} [Incident Created Date]), 'DD')&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 13:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/415588#M570542</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-10-15T13:57:00Z</dc:date>
    </item>
  </channel>
</rss>

