<?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: Where statement in Scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886047#M654738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Wildmatch(Zone, '1*') instead of Match(Zone, '1') if you want to play with wildcards in Bill's example above. See QV Desktop help for more info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Jul 2015 19:45:52 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-07-05T19:45:52Z</dc:date>
    <item>
      <title>Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886041#M654732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to fetch the required records using where condition in the script.&lt;/P&gt;&lt;P&gt;Please lemme know whether the syntax i'm using is accurate or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Name='A' and (Zone='1' or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Zone='2' or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Zone='3' or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Zone='9') and &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Name='B' and (Zone='12' or &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Zone='24' or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Zone='37');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Please help. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886041#M654732</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-05T19:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886042#M654733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That looks as if it will never return anything as &lt;EM&gt;Name&lt;/EM&gt; will never equal '&lt;EM&gt;A&lt;/EM&gt;' and equal '&lt;EM&gt;B&lt;/EM&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A complete guess here as to what your requirements are but this would probably return some rows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;( Name='A' and (Zone='1' or Zone='2' or Zone='3' or Zone='9') )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;( Name='B' and (Zone='12' or Zone='24' or Zone='37') );&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886042#M654733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T19:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886043#M654734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There were many Zone values under Names A and B&lt;/P&gt;&lt;P&gt;I wanna return values only Zone = 1,2,3,9 from A&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zone = 12, 24, 37 from B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working...:)&lt;/P&gt;&lt;P&gt;Can i use the same logic for multiple parameters like Name C, D. ..etc..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886043#M654734</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-05T19:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886044#M654735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BIll,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use Zone='1*' to fetch all the zonez starting with 1????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886044#M654735</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-05T19:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886045#M654736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It could look neater with the Match() function :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;Where&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;( Name='A' and Match ( '&lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Zone'&amp;nbsp; ,&lt;/EM&gt;'1' , '2' , 3' , '9') )&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&amp;nbsp; or&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;( Name='B' and &lt;SPAN style="color: #000000; font-family: inherit; font-size: 13px; font-weight: inherit;"&gt;&lt;EM&gt;Match &lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;( '&lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Zone&lt;/EM&gt;&lt;EM style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&amp;nbsp; ,&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt; '2' , '24' , '37') ) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;... and yup, you should be add same logic for your other &lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;Name &lt;/EM&gt;&lt;/SPAN&gt;values.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM&gt;[Editted as I did a typo]&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886045#M654736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T19:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886046#M654737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still another typo: no quotes around the field name... I won't tell anyone however&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886046#M654737</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-07-05T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886047#M654738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Wildmatch(Zone, '1*') instead of Match(Zone, '1') if you want to play with wildcards in Bill's example above. See QV Desktop help for more info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886047#M654738</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-07-05T19:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886048#M654739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanq Verymuch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 19:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-statement-in-Scripting/m-p/886048#M654739</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-05T19:49:46Z</dc:date>
    </item>
  </channel>
</rss>

