<?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 If statement in Script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-statement-in-Script/m-p/1681448#M51846</link>
    <description>&lt;P&gt;My field is CustomerType.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to transform the field so that if CustomerType IS NOT Equal to a value then name it something else.&lt;/P&gt;&lt;P&gt;I tried the following structure but am not receiving expected results. Am I using an incorrect operator?&lt;/P&gt;&lt;P&gt;IF(CustomerType &amp;lt;&amp;gt; 'Broker' or 'Reseller' or 'House' or 'Player' or 'Sponsor' or 'Employee', 'Personal',&lt;BR /&gt;IF(CustomerType = 'Broker' or 'Reseller', 'Reseller')) AS CustomerTypeNew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2020 18:23:13 GMT</pubDate>
    <dc:creator>evansabres</dc:creator>
    <dc:date>2020-03-03T18:23:13Z</dc:date>
    <item>
      <title>If statement in Script</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-in-Script/m-p/1681448#M51846</link>
      <description>&lt;P&gt;My field is CustomerType.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to transform the field so that if CustomerType IS NOT Equal to a value then name it something else.&lt;/P&gt;&lt;P&gt;I tried the following structure but am not receiving expected results. Am I using an incorrect operator?&lt;/P&gt;&lt;P&gt;IF(CustomerType &amp;lt;&amp;gt; 'Broker' or 'Reseller' or 'House' or 'Player' or 'Sponsor' or 'Employee', 'Personal',&lt;BR /&gt;IF(CustomerType = 'Broker' or 'Reseller', 'Reseller')) AS CustomerTypeNew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 18:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-in-Script/m-p/1681448#M51846</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2020-03-03T18:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: If statement in Script</title>
      <link>https://community.qlik.com/t5/App-Development/If-statement-in-Script/m-p/1681458#M51850</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(not Match(CustomerType, 'Broker', 'Reseller', 'House', 'Player', 'Sponsor', 'Employee'), 'Personal', If(Match(CustomerType, 'Broker', 'Reseller'), 'Reseller')) as CustomerTypeNew,&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Mar 2020 19:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-statement-in-Script/m-p/1681458#M51850</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-03-03T19:05:56Z</dc:date>
    </item>
  </channel>
</rss>

