<?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 Creating a nest if statement with set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123639#M91449</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to create a nest if statement that allows me to search a field called [KPI.KPI] for a value of 16 then counts records for&amp;nbsp;[ERRORS.BUSINESS_PROCESS] where&amp;nbsp;[ERRORS.BUSINESS_PROCESS] not "LABOR" and the field [ERRORS.TOT_TRANS_AMT] is not 0 and not null. I was thinking it should be written like this, but I have had no luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If( KPI.KPI = 16,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If(&amp;nbsp;&lt;SPAN&gt;[ERRORS.BUSINESS_PROCESS] -= {"LABOR"} and&amp;nbsp;[ERRORS.TOT_TRANS_AMT] -= {"0", null},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count([ERRORS.BUSINESS_PROCESS]&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated. Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 18:51:16 GMT</pubDate>
    <dc:creator>curt1094</dc:creator>
    <dc:date>2023-09-28T18:51:16Z</dc:date>
    <item>
      <title>Creating a nest if statement with set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123639#M91449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to create a nest if statement that allows me to search a field called [KPI.KPI] for a value of 16 then counts records for&amp;nbsp;[ERRORS.BUSINESS_PROCESS] where&amp;nbsp;[ERRORS.BUSINESS_PROCESS] not "LABOR" and the field [ERRORS.TOT_TRANS_AMT] is not 0 and not null. I was thinking it should be written like this, but I have had no luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If( KPI.KPI = 16,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If(&amp;nbsp;&lt;SPAN&gt;[ERRORS.BUSINESS_PROCESS] -= {"LABOR"} and&amp;nbsp;[ERRORS.TOT_TRANS_AMT] -= {"0", null},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Count([ERRORS.BUSINESS_PROCESS]&amp;nbsp;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; )&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated. Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 18:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123639#M91449</guid>
      <dc:creator>curt1094</dc:creator>
      <dc:date>2023-09-28T18:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a nest if statement with set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123663#M91450</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;Count({$&amp;lt;KPI.KPI = {16}, ERRORS.BUSINESS_PROCESS -= {"LABOR"},&lt;/P&gt;
&lt;P&gt;ERRORS.TOT_TRANS_AMT={"*"}&amp;gt; * &amp;lt;ERRORS.TOT_TRANS_AMT={"&amp;gt;0"}&amp;gt;} ERRORS.BUSINESS_PROCESS)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 20:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123663#M91450</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-09-28T20:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a nest if statement with set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123681#M91452</link>
      <description>&lt;P&gt;Thanks, this produced the result I was looking for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 23:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-nest-if-statement-with-set-analysis/m-p/2123681#M91452</guid>
      <dc:creator>curt1094</dc:creator>
      <dc:date>2023-09-28T23:33:22Z</dc:date>
    </item>
  </channel>
</rss>

