<?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: In Function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216863#M626735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can. Or will work like this&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: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If([Policy Type]='U','STB',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;[Policy Type] = 'B' or &lt;STRONG style="color: #ff0000; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;[Policy Type] =&lt;/STRONG&gt; 'S')&lt;/SPAN&gt;, 'FRM',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(IsNull([Profession Descr]), 'NEW', [Profession Flag]))) as Profession&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 15:14:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-11-23T15:14:36Z</dc:date>
    <item>
      <title>In Function</title>
      <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216859#M626731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The syntax underlying the "In" function is incorrect.&amp;nbsp; I need help correcting the "In" Function.&amp;nbsp; The attached files provide the supporting documents.&amp;nbsp; Here's the script containing the "In function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; *, &lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Policy Type]&lt;/SPAN&gt;='U','STB',&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Policy Type]&lt;/SPAN&gt; in ('B','S'),'FRM',if(isnull(&lt;SPAN style="color: #800000;"&gt;[Profession Descr]&lt;/SPAN&gt;),'NEW',&lt;SPAN style="color: #800000;"&gt;[Profession Flag]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;))) as Profession &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216859#M626731</guid>
      <dc:creator />
      <dc:date>2016-11-23T15:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: In Function</title>
      <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216860#M626732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just replaced the "In" Function with the "Or" Function and the syntax works.&amp;nbsp; I guess the "In" function is not used in Qlikview, but I'm not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; *, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Policy Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='U','STB',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Policy Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'B' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'S','FRM',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Profession Descr]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'NEW',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Profession Flag]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Profession &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216860#M626732</guid>
      <dc:creator />
      <dc:date>2016-11-23T15:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: In Function</title>
      <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216861#M626733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with Match()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([Policy Type]='U','STB',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #ff0000;"&gt;Match([Policy Type], 'B', 'S')&lt;/SPAN&gt;, 'FRM',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(IsNull([Profession Descr]), 'NEW', [Profession Flag]))) as Profession&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216861#M626733</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-23T15:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: In Function</title>
      <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216862#M626734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Sunny, I was not familiar with the Match function.&amp;nbsp; I guess there is more than one method here, I can use the "Or" function as well, correct&amp;nbsp; (see my prior reply) ?&amp;nbsp; Your syntax works perfectly !! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216862#M626734</guid>
      <dc:creator />
      <dc:date>2016-11-23T15:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: In Function</title>
      <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216863#M626735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can. Or will work like this&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: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If([Policy Type]='U','STB',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;[Policy Type] = 'B' or &lt;STRONG style="color: #ff0000; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;[Policy Type] =&lt;/STRONG&gt; 'S')&lt;/SPAN&gt;, 'FRM',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(IsNull([Profession Descr]), 'NEW', [Profession Flag]))) as Profession&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216863#M626735</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-23T15:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: In Function</title>
      <link>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216864#M626736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Sunny !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Function/m-p/1216864#M626736</guid>
      <dc:creator />
      <dc:date>2016-11-23T15:16:34Z</dc:date>
    </item>
  </channel>
</rss>

