<?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: Nested IF in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089529#M1224127</link>
    <description>&lt;P&gt;Can you elaborate your requirement as if you need any of the following values?&lt;BR /&gt;&lt;SPAN&gt;RefDesc ='PSCD*' or 'PHCD*' or 'PHTD' ALSO&amp;nbsp;&amp;nbsp;Feedtype = 'OUTS'&amp;nbsp; &lt;STRONG&gt;OR&lt;/STRONG&gt; RefDesc= 'HICD*', '05' - Wether it is "&lt;STRONG&gt;or&lt;/STRONG&gt;" or "&lt;STRONG&gt;And&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;After clearing your posted statement try this:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=IF (FeedType &amp;lt;&amp;gt; 'OUTS' and RefDesc ='PSCD*' or 'PHCD*' or 'PHTD', 04,&lt;BR /&gt;IF (FeedType = 'OUTS' OR RefDesc= 'HICD*', '05'))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jun 2023 12:08:24 GMT</pubDate>
    <dc:creator>AL07</dc:creator>
    <dc:date>2023-06-30T12:08:24Z</dc:date>
    <item>
      <title>Nested IF</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089518#M1224125</link>
      <description>&lt;P&gt;I'm looking to create a dimension in a table using an IF statement but it's not working. So I have -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF FeedType &amp;lt;&amp;gt; 'OUTS' and RefDesc ='PSCD*' or 'PHCD*' or 'PHTD', 04,&lt;/P&gt;
&lt;P&gt;IF Feedtype = 'OUTS'&amp;nbsp; OR RefDesc= 'HICD*', '05'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 11:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089518#M1224125</guid>
      <dc:creator>kev6brown</dc:creator>
      <dc:date>2023-06-30T11:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089528#M1224126</link>
      <description>&lt;P&gt;When you do an OR you do have to define the field again or use the Match() function. i.e.&lt;/P&gt;
&lt;P&gt;IF RefDesc='x' or RefDesc='y'..&lt;/P&gt;
&lt;P&gt;Might be worth reviewing the wildmatch() function also.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 12:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089528#M1224126</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2023-06-30T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089529#M1224127</link>
      <description>&lt;P&gt;Can you elaborate your requirement as if you need any of the following values?&lt;BR /&gt;&lt;SPAN&gt;RefDesc ='PSCD*' or 'PHCD*' or 'PHTD' ALSO&amp;nbsp;&amp;nbsp;Feedtype = 'OUTS'&amp;nbsp; &lt;STRONG&gt;OR&lt;/STRONG&gt; RefDesc= 'HICD*', '05' - Wether it is "&lt;STRONG&gt;or&lt;/STRONG&gt;" or "&lt;STRONG&gt;And&lt;/STRONG&gt;"&lt;BR /&gt;&lt;BR /&gt;After clearing your posted statement try this:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=IF (FeedType &amp;lt;&amp;gt; 'OUTS' and RefDesc ='PSCD*' or 'PHCD*' or 'PHTD', 04,&lt;BR /&gt;IF (FeedType = 'OUTS' OR RefDesc= 'HICD*', '05'))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 12:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089529#M1224127</guid>
      <dc:creator>AL07</dc:creator>
      <dc:date>2023-06-30T12:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089640#M1224130</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/8220"&gt;@kev6brown&lt;/a&gt;&amp;nbsp; As below.&lt;/P&gt;
&lt;P&gt;If(not Match(FeedType,'OUTS') and WildMatch(RefDesc,'PSCD*','PHCD*','PHTD'), 04,&lt;BR /&gt;If(Match(FeedType,'OUTS') or WildMatch(RefDesc,'HICD*'), 05, Null()))&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 17:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/2089640#M1224130</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-06-30T17:26:23Z</dc:date>
    </item>
  </channel>
</rss>

