<?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 In range syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742403#M667176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking to create an if statement that is based on a field having a range of possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL, you would write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If fieldA in ["value1","value2"...] Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I translate this into QV syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2014 16:19:48 GMT</pubDate>
    <dc:creator>cbushey1</dc:creator>
    <dc:date>2014-11-28T16:19:48Z</dc:date>
    <item>
      <title>In range syntax</title>
      <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742403#M667176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking to create an if statement that is based on a field having a range of possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL, you would write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If fieldA in ["value1","value2"...] Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I translate this into QV syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 16:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742403#M667176</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2014-11-28T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: In range syntax</title>
      <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742404#M667177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, use the funciotion Match()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Match(Field,'value1','value2',....), Value True, Value False)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Tonial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 16:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742404#M667177</guid>
      <dc:creator>fernando_tonial</dc:creator>
      <dc:date>2014-11-28T16:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: In range syntax</title>
      <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742405#M667178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the QlikView Match() or WildMatch() functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 16:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742405#M667178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-28T16:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: In range syntax</title>
      <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742406#M667179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to do this using a range instead of typing all values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;001-015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of typing each possible value out, could I enter a range into the Match function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 16:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742406#M667179</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2014-11-28T16:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: In range syntax</title>
      <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742407#M667180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can't use a range in match function, you have to type all values&lt;/P&gt;&lt;P&gt;in wildmatch you can use wildcard (* ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or for range you can use a sql like syntax also in Qlik load&lt;/P&gt;&lt;P&gt;where field1 &amp;gt;= '009' and field1 &amp;lt;= '021';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2014 18:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742407#M667180</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-11-28T18:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: In range syntax</title>
      <link>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742408#M667181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Match(Round(FieldA,015),0,15,30,45,60,75,90,105),'A','B','C','D','E','F','G','H')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have trouble with it I'd convert your field to a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 19:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-range-syntax/m-p/742408#M667181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-01T19:15:24Z</dc:date>
    </item>
  </channel>
</rss>

