<?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: If statement with data range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-with-data-range/m-p/442613#M489579</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, if(field_b &amp;gt;= and field_b &amp;lt;= 100, 'A', if(field_b &amp;gt;=101 and field_b &amp;lt;= 1000,'B','C')) as field_d from tablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2012 21:54:46 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-11-16T21:54:46Z</dc:date>
    <item>
      <title>If statement with data range</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-data-range/m-p/442612#M489578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I am wondering if it is possible to have this type of if statement:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;if (field_b between 0 and 100 than field_d = A), else if (field_b between 101 and 1000 than field_d = B), else if etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Can I do it in qlikview?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Many thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 21:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-data-range/m-p/442612#M489578</guid>
      <dc:creator />
      <dc:date>2012-11-16T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: If statement with data range</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-with-data-range/m-p/442613#M489579</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, if(field_b &amp;gt;= and field_b &amp;lt;= 100, 'A', if(field_b &amp;gt;=101 and field_b &amp;lt;= 1000,'B','C')) as field_d from tablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 21:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-with-data-range/m-p/442613#M489579</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-16T21:54:46Z</dc:date>
    </item>
  </channel>
</rss>

