<?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 Please help me with the if statement below in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-if-statement-below/m-p/613308#M1113543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I write this in Qlikview.Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIf(RTL_TERMS.TRMN_DT Is Null AND DATEDIFF("YYYY",QRYALL_RTL_WRK_ENDPOP.HIR_DT,QRYALL_RTL_WRK_ENDPOP.AS_OF_DT)*12+DATEDIFF("M",QRYALL_RTL_WRK_ENDPOP.HIR_DT,QRYALL_RTL_WRK_ENDPOP.AS_OF_DT) BETWEEN&amp;nbsp; 0 AND 6, "011401",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIf(RTL_TERMS.TRMN_DT Is Not Null AND&amp;nbsp; DATEDIFF("YYYY",QRYALL_RTL_WRK_ENDPOP.HIR_DT,RTL_TERMS.TRMN_DT)*12+DATEDIFF("M",QRYALL_RTL_WRK_ENDPOP.HIR_DT,RTL_TERMS.TRMN_DT) BETWEEN&amp;nbsp; 0 AND 6, "011401", "None"))) as Tenure&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>Thu, 20 Feb 2014 15:31:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-20T15:31:22Z</dc:date>
    <item>
      <title>Please help me with the if statement below</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-if-statement-below/m-p/613308#M1113543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I write this in Qlikview.Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIf(RTL_TERMS.TRMN_DT Is Null AND DATEDIFF("YYYY",QRYALL_RTL_WRK_ENDPOP.HIR_DT,QRYALL_RTL_WRK_ENDPOP.AS_OF_DT)*12+DATEDIFF("M",QRYALL_RTL_WRK_ENDPOP.HIR_DT,QRYALL_RTL_WRK_ENDPOP.AS_OF_DT) BETWEEN&amp;nbsp; 0 AND 6, "011401",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IIf(RTL_TERMS.TRMN_DT Is Not Null AND&amp;nbsp; DATEDIFF("YYYY",QRYALL_RTL_WRK_ENDPOP.HIR_DT,RTL_TERMS.TRMN_DT)*12+DATEDIFF("M",QRYALL_RTL_WRK_ENDPOP.HIR_DT,RTL_TERMS.TRMN_DT) BETWEEN&amp;nbsp; 0 AND 6, "011401", "None"))) as Tenure&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>Thu, 20 Feb 2014 15:31:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-if-statement-below/m-p/613308#M1113543</guid>
      <dc:creator />
      <dc:date>2014-02-20T15:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Please help me with the if statement below</title>
      <link>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-if-statement-below/m-p/613309#M1113545</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;Maybe like this:&lt;/P&gt;&lt;P&gt;If(not isnull(RTL_TERMS.TRMN_DT) and rangemax(12*(year(QRYALL_RTL_WRK_ENDPOP.HIR_DT)-year(RTL_TERMS.TRMN_DT)) + month(QRYALL_RTL_WRK_ENDPOP.HIR_DT)-month(RTL_TERMS.TRMN_DT),0)&amp;gt;=6, '022401', 'None') as Tenure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(not isnull(RTL_TERMS.TRMN_DT) and addmonths(QRYALL_RTL_WRK_ENDPOP.HIR_DT, -6) &amp;lt;=&amp;nbsp; RTL_TERMS.TRMN_DT , '022401', 'None') as Tenure&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Please-help-me-with-the-if-statement-below/m-p/613309#M1113545</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-02-20T18:27:54Z</dc:date>
    </item>
  </channel>
</rss>

