<?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 Using sub filed for &amp;gt; or &amp;lt; in If condition? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-sub-filed-for-gt-or-lt-in-If-condition/m-p/1423147#M429033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where is need to perform calculations based on range of amount. ( &amp;lt; or &amp;gt;=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA attached file which has sample data . I am unable to achieve the results with if condition and using sub field in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me understand the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 19:52:00 GMT</pubDate>
    <dc:creator>qlikuser222</dc:creator>
    <dc:date>2017-11-06T19:52:00Z</dc:date>
    <item>
      <title>Using sub filed for &gt; or &lt; in If condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-sub-filed-for-gt-or-lt-in-If-condition/m-p/1423147#M429033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where is need to perform calculations based on range of amount. ( &amp;lt; or &amp;gt;=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA attached file which has sample data . I am unable to achieve the results with if condition and using sub field in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me understand the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 19:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-sub-filed-for-gt-or-lt-in-If-condition/m-p/1423147#M429033</guid>
      <dc:creator>qlikuser222</dc:creator>
      <dc:date>2017-11-06T19:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using sub filed for &gt; or &lt; in If condition?</title>
      <link>https://community.qlik.com/t5/QlikView/Using-sub-filed-for-gt-or-lt-in-If-condition/m-p/1423148#M429034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing you Calc1 calculation to:&lt;/P&gt;&lt;P&gt;if(if(SubField(Range,' ',1) = '&amp;lt;', [Paid Amount] &amp;lt; SubField(Range,' ',2), [Paid Amount] &amp;gt;= SubField(Range,' ',2)), [Paid Amount] * Discount),[Paid Amount] * Discount )as Calc1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also attached an updated version of your file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 20:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-sub-filed-for-gt-or-lt-in-If-condition/m-p/1423148#M429034</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2017-11-06T20:12:26Z</dc:date>
    </item>
  </channel>
</rss>

