<?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: Set Analysis Count If in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535889#M600340</link>
    <description>&lt;P&gt;So, within the set analysis, the expression is checking if&amp;nbsp;&lt;SPAN&gt;Sum(NPM_TOTAL_SALES) is less than or equal to 0 for a PROFIT_CENTER. If it is, then include it in the calculation... if not then exclude it.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 12:36:01 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-01-28T12:36:01Z</dc:date>
    <item>
      <title>Set Analysis Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535876#M600337</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to count the number of profit center with NPM Total Sales NC &amp;lt;=0&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pivot table qlik.PNG" style="width: 719px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4615iA5CEA88902259F04/image-size/large?v=v2&amp;amp;px=999" role="button" title="pivot table qlik.PNG" alt="pivot table qlik.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following formula, but it does not work:&lt;/P&gt;&lt;P&gt;count({&amp;lt;sum(NPM_TOTAL_SALES)={0}}&amp;gt; PROFIT_CENTER)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea,&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Edi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535876#M600337</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2024-11-16T04:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535879#M600338</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;Count({&amp;lt;PROFIT_CENTER = {"=Sum(NPM_TOTAL_SALES) &amp;lt;= 0"}&amp;gt;} PROFIT_CENTER)&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535879#M600338</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-28T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535887#M600339</link>
      <description>&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;many thanks. It works perfectly. I really appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used sth like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Count(distinct {&amp;lt;PROFIT_CENTER = {"=Sum(NPM_TOTAL_SALES) &amp;lt;= 0"}&amp;gt;} PROFIT_CENTER)&lt;/P&gt;&lt;P&gt;I have still a question. Can you please explain me in a brief manner how this formula works? because I do not understand why you put&amp;nbsp;&lt;SPAN&gt;PROFIT_CENTER&amp;nbsp; twice.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Edi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535887#M600339</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-01-28T12:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535889#M600340</link>
      <description>&lt;P&gt;So, within the set analysis, the expression is checking if&amp;nbsp;&lt;SPAN&gt;Sum(NPM_TOTAL_SALES) is less than or equal to 0 for a PROFIT_CENTER. If it is, then include it in the calculation... if not then exclude it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 12:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1535889#M600340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-28T12:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Count If</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1546200#M600341</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Can you please be kind and explain what you have set up "" into the set analysis and the = which precedes the Sum function.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Edi&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 08:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Count-If/m-p/1546200#M600341</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-02-19T08:52:59Z</dc:date>
    </item>
  </channel>
</rss>

