<?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 How do I use Countifs in QLIK sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997897#M82646</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I am new to Qliksense and struggling to get hands on with its development. I am sure will find solution here.&lt;/P&gt;
&lt;P&gt;Qlik sense works unlikely of Excel. I have two issues for which I am seeking help.&lt;/P&gt;
&lt;P&gt;Issue: I have Data table with 30 fields with 61,000+ records in rows. due to requirement I did cross table and Table has now become flat with records close to 2,32, 000+.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I have column with name &lt;STRONG&gt;Status &lt;/STRONG&gt;which has around 24 different type of status. I want the Count of one of the &lt;STRONG&gt;Status&lt;/STRONG&gt;, However, when I am trying to do so I am getting a count of 59,000 which is incorrect and I think this is due to Flating the Table. The actual count of Type of Status is 14,000 - Example Below.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Application ID&lt;/TD&gt;
&lt;TD width="50%"&gt;Status&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;Application&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2&lt;/TD&gt;
&lt;TD width="50%"&gt;CTQ&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;3&lt;/TD&gt;
&lt;TD width="50%"&gt;Reject&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;4&lt;/TD&gt;
&lt;TD width="50%"&gt;Select&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can use Simple Countifs formula in excel and derive the value however, Qlik sense seems to have different approach that I am not aware of.&lt;/P&gt;
&lt;P&gt;I can figure out only two ways to achieve this:&lt;/P&gt;
&lt;P&gt;1. By counting the value of required Status(eg: Reject) if the count of application is not duplicate in other words distinct count of Application ID column&lt;/P&gt;
&lt;P&gt;2. By creating new column and assigning value to duplicate values in Application ID column. Then applying count if using new column.&lt;/P&gt;
&lt;P&gt;I every possible scenario I have to use COuntif's. Please suggest.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 04:24:30 GMT</pubDate>
    <dc:creator>VickyS</dc:creator>
    <dc:date>2022-10-28T04:24:30Z</dc:date>
    <item>
      <title>How do I use Countifs in QLIK sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997897#M82646</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I am new to Qliksense and struggling to get hands on with its development. I am sure will find solution here.&lt;/P&gt;
&lt;P&gt;Qlik sense works unlikely of Excel. I have two issues for which I am seeking help.&lt;/P&gt;
&lt;P&gt;Issue: I have Data table with 30 fields with 61,000+ records in rows. due to requirement I did cross table and Table has now become flat with records close to 2,32, 000+.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I have column with name &lt;STRONG&gt;Status &lt;/STRONG&gt;which has around 24 different type of status. I want the Count of one of the &lt;STRONG&gt;Status&lt;/STRONG&gt;, However, when I am trying to do so I am getting a count of 59,000 which is incorrect and I think this is due to Flating the Table. The actual count of Type of Status is 14,000 - Example Below.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;Application ID&lt;/TD&gt;
&lt;TD width="50%"&gt;Status&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;1&lt;/TD&gt;
&lt;TD width="50%"&gt;Application&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;2&lt;/TD&gt;
&lt;TD width="50%"&gt;CTQ&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;3&lt;/TD&gt;
&lt;TD width="50%"&gt;Reject&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;4&lt;/TD&gt;
&lt;TD width="50%"&gt;Select&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can use Simple Countifs formula in excel and derive the value however, Qlik sense seems to have different approach that I am not aware of.&lt;/P&gt;
&lt;P&gt;I can figure out only two ways to achieve this:&lt;/P&gt;
&lt;P&gt;1. By counting the value of required Status(eg: Reject) if the count of application is not duplicate in other words distinct count of Application ID column&lt;/P&gt;
&lt;P&gt;2. By creating new column and assigning value to duplicate values in Application ID column. Then applying count if using new column.&lt;/P&gt;
&lt;P&gt;I every possible scenario I have to use COuntif's. Please suggest.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 04:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997897#M82646</guid>
      <dc:creator>VickyS</dc:creator>
      <dc:date>2022-10-28T04:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use Countifs in QLIK sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997917#M82650</link>
      <description>&lt;P&gt;=count(&amp;nbsp; {&amp;lt;Status={'Reject'}&amp;gt;}&amp;nbsp; Distinct ApplicationID)&lt;/P&gt;
&lt;P&gt;read more on set analysis here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/" target="_blank"&gt;https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 06:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997917#M82650</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-10-28T06:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use Countifs in QLIK sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997922#M82652</link>
      <description>&lt;P&gt;With your approach, perhaps&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT If(Status='Reject', [Application ID],Null()))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="pluma-sent-0"&gt;But the use of set analysis is a better method to use over IFs whenever possible, so try this instead.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Status={'Reject'}&amp;gt;}DISTINCT [Application ID])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;More here &lt;A title="Count or Count distinct?" href="https://community.qlik.com/t5/Design/Count-or-Count-distinct/ba-p/1469730" target="_blank" rel="noopener"&gt;Count or Count distinct?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 06:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997922#M82652</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-10-28T06:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use Countifs in QLIK sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997944#M82656</link>
      <description>&lt;P&gt;Thanks a lot! This works perfectly. It was very easy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Status={'Reject'}&amp;gt;}DISTINCT [Application ID])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;What if there are multiple conditions like, application ID, and other columns. Just like we do filter in excel to narrow down?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vicky&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997944#M82656</guid>
      <dc:creator>VickyS</dc:creator>
      <dc:date>2022-10-28T07:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use Countifs in QLIK sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997951#M82657</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;Status={'Reject'},&lt;FONT color="#FF0000"&gt;[Application ID]={1,2},Year={2020}&lt;/FONT&gt;&amp;gt;}DISTINCT [Application ID])&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;More on that here&lt;STRONG&gt; &lt;A title="Set analysis" href="https://help.qlik.com/en-US/sense/August2022/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_self"&gt;Set analysis&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1997951#M82657</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-10-28T07:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use Countifs in QLIK sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1998363#M82678</link>
      <description>&lt;P&gt;Thanks a lot Brun, I appreciate your quick assistance. This works perfectly fine.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 13:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-I-use-Countifs-in-QLIK-sense/m-p/1998363#M82678</guid>
      <dc:creator>VickyS</dc:creator>
      <dc:date>2022-10-30T13:37:24Z</dc:date>
    </item>
  </channel>
</rss>

