<?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/1537375#M599898</link>
    <description>&lt;P&gt;Looks ok. Are you sure that it's really this expression that's causing the error?&lt;/P&gt;&lt;P&gt;What happens if you comment it out?&lt;/P&gt;&lt;P&gt;Have you tried with first one if statement and then if that works adding the next nested if and so on?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 17:20:05 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-01-30T17:20:05Z</dc:date>
    <item>
      <title>Nested IF:</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537355#M599895</link>
      <description>&lt;P&gt;I keep getting "Error in Expression: ')' expected" when I create new field in script -&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff"&gt;If&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;[Location]&lt;/FONT&gt;='SD','up',&lt;FONT color="#0000ff"&gt;If&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Match&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;[Location]&lt;/FONT&gt;, '00', '01', '02', '03', '04', '05', '06'), 'down', &lt;FONT color="#0000ff"&gt;If&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Match&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;[Location]&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="2"&gt;, 'AA', 'AB', 'AC' 'AD', 'AE', 'AF', 'AG', 'AH', 'AI'),'Sub', &amp;nbsp;&lt;FONT color="#0000ff" size="2"&gt;If&lt;/FONT&gt;(&lt;FONT color="#0000ff" size="2"&gt;Match&lt;/FONT&gt;(&lt;FONT color="#800000" size="2"&gt;[Location]&lt;/FONT&gt;, 'BB','BC','BD'), 'Kitty')))) as Status,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT size="2"&gt;.......&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;"Location" is a column here and I want to create "Status" as a new field. Can anyone point me to the error? &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&amp;lt; P.S - post edited to hide info &amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537355#M599895</guid>
      <dc:creator>skompel2</dc:creator>
      <dc:date>2024-11-16T04:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF:</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537361#M599896</link>
      <description>&lt;P&gt;The If statement seems to look good... can you share an image of the error message?&lt;/P&gt;&lt;PRE&gt;If([Proposed Location] = 'SD', 'Exchange',
If(Match([Proposed Location], 'EA00', 'TR00', 'CA00', 'CH00', 'NZ00', 'OP00', 'RA00'), 'Teardown',
If(Match([Proposed Location], 'CH00FL', 'CH2EA', 'ML2EA' 'OP2EA', 'OP01', 'RA2EA', 'TR02', 'TR03', 'TR04'), 'Sub_Assembly',
If(Match([Proposed Location], 'PARTROOM','5S11D','6S03E'), 'Kit_Parts')))) as Status,&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:09:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537361#M599896</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-30T17:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF:</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537375#M599898</link>
      <description>&lt;P&gt;Looks ok. Are you sure that it's really this expression that's causing the error?&lt;/P&gt;&lt;P&gt;What happens if you comment it out?&lt;/P&gt;&lt;P&gt;Have you tried with first one if statement and then if that works adding the next nested if and so on?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537375#M599898</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-01-30T17:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF:</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537386#M599899</link>
      <description>&lt;P&gt;Hey it works now. I followed what gysbert said &amp;amp; wrote each part individually. Surprisingly it didn't throw an error then.&lt;/P&gt;&lt;P&gt;Thanks guys, and I should probably delete this post as it isn't very helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537386#M599899</guid>
      <dc:creator>skompel2</dc:creator>
      <dc:date>2019-01-30T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF:</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537394#M599900</link>
      <description>&lt;P&gt;No, don't delete it. Somebody else might run into a similar problem and find this as a start to troubleshoot it.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF/m-p/1537394#M599900</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-01-30T17:37:18Z</dc:date>
    </item>
  </channel>
</rss>

