<?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 Nested IF Statement in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175233#M43759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it was just that missing bracket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2011 09:05:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-23T09:05:20Z</dc:date>
    <item>
      <title>Nested IF Statement in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175230#M43756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I use Nested IF statements in pivots table to show different data depending on what value a particular field show.&lt;/P&gt;&lt;P&gt;I have a standard if statement working, but have three possible values hence the requirement for nested which I can't seem to get to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working IF Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;component_make_or_buy&lt;/B&gt;='M',&lt;B&gt;rangesum&lt;/B&gt;(&lt;B&gt;wo_quantity_remaining&lt;/B&gt;),&lt;B&gt;rangesum&lt;/B&gt;(&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;po_qty_ordered&lt;/B&gt;)-&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;po_qty_received&lt;/B&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Non working Nested IF Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;component_make_or_buy&lt;/B&gt;='M',&lt;B&gt;rangesum&lt;/B&gt;(&lt;B&gt;wo_quantity_remaining&lt;/B&gt;),&lt;B&gt;if&lt;/B&gt;(&lt;B&gt;component_make_or_buy&lt;/B&gt;='B',&lt;B&gt;rangesum&lt;/B&gt;(&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;po_qty_ordered&lt;/B&gt;)-&lt;B&gt;sum&lt;/B&gt;(&lt;B&gt;po_qty_received&lt;/B&gt;)))&lt;/P&gt;&lt;P&gt;I know there are only two elements above but I planned to add the third once this was working.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 17:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175230#M43756</guid>
      <dc:creator />
      <dc:date>2011-03-22T17:10:08Z</dc:date>
    </item>
    <item>
      <title>Nested IF Statement in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175231#M43757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your second expression with the nested IF() is missing a closing parenthesis. You will also want to be careful to insure that the field you are testing (component_make_or_buy) can only have a single value at any time or the expression will return null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 18:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175231#M43757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-22T18:16:50Z</dc:date>
    </item>
    <item>
      <title>Nested IF Statement in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175232#M43758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Technically, there is no problem to use nested if's in Pivotable, we've done it.&lt;/P&gt;&lt;P&gt;However, it will be a lot more performant to do those calculations in your loading script (btw, it will be more readeable to the user too, when creating new objects).&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Miguel Catalao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 18:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175232#M43758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-22T18:59:23Z</dc:date>
    </item>
    <item>
      <title>Nested IF Statement in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175233#M43759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, it was just that missing bracket.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 09:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-Statement-in-Pivot-Table/m-p/175233#M43759</guid>
      <dc:creator />
      <dc:date>2011-03-23T09:05:20Z</dc:date>
    </item>
  </channel>
</rss>

