<?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 I have a question regarding the total count function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/I-have-a-question-regarding-the-total-count-function/m-p/1894335#M1217439</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm new to QlikSense and I have a question regarding the total count function that I want to apply to a table cells.&lt;BR /&gt;I have uploaded images in this post.&lt;BR /&gt;There are 2 dates and 2 status.&lt;/P&gt;
&lt;P&gt;I would like to show the records going from open to closed from the Date1 to Date2 by decrement on Table2&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;ı added the "Total" calculation field on Table2.&lt;/P&gt;
&lt;P&gt;Formula :&amp;nbsp;&lt;BR /&gt;=IF(DATE1&amp;gt;DATE2,null(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(DATE1&amp;lt;DATE2,count({&amp;lt;"Status1"={'open'},"Status2"={'close'}&amp;gt;}[Product])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , count({&amp;lt;"Status1"={'open'}&amp;gt;}[Product])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me with the formula below for the calculation I want to create table in the 2.JPG?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;additionally: i tried count total function but its counting all numbers&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Feb 2022 14:10:36 GMT</pubDate>
    <dc:creator>sserdardemirr</dc:creator>
    <dc:date>2022-02-17T14:10:36Z</dc:date>
    <item>
      <title>I have a question regarding the total count function</title>
      <link>https://community.qlik.com/t5/QlikView/I-have-a-question-regarding-the-total-count-function/m-p/1894335#M1217439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm new to QlikSense and I have a question regarding the total count function that I want to apply to a table cells.&lt;BR /&gt;I have uploaded images in this post.&lt;BR /&gt;There are 2 dates and 2 status.&lt;/P&gt;
&lt;P&gt;I would like to show the records going from open to closed from the Date1 to Date2 by decrement on Table2&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;ı added the "Total" calculation field on Table2.&lt;/P&gt;
&lt;P&gt;Formula :&amp;nbsp;&lt;BR /&gt;=IF(DATE1&amp;gt;DATE2,null(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(DATE1&amp;lt;DATE2,count({&amp;lt;"Status1"={'open'},"Status2"={'close'}&amp;gt;}[Product])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , count({&amp;lt;"Status1"={'open'}&amp;gt;}[Product])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me with the formula below for the calculation I want to create table in the 2.JPG?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;additionally: i tried count total function but its counting all numbers&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 14:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-have-a-question-regarding-the-total-count-function/m-p/1894335#M1217439</guid>
      <dc:creator>sserdardemirr</dc:creator>
      <dc:date>2022-02-17T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: I have a question regarding the total count function</title>
      <link>https://community.qlik.com/t5/QlikView/I-have-a-question-regarding-the-total-count-function/m-p/1896930#M1217587</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/165570"&gt;@sserdardemirr&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm new to QlikSense and I have a question regarding the total count function that I want to apply to a table cells.&lt;BR /&gt;I have uploaded images in this post.&lt;BR /&gt;There are 2 dates and 2 status.&amp;nbsp;&lt;A href="https://www.thirtyonetoday.me/" target="_self"&gt;&lt;FONT color="#000000"&gt;Thirty One Today&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I would like to show the records going from open to closed from the Date1 to Date2 by decrement on Table2&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;ı added the "Total" calculation field on Table2.&lt;/P&gt;
&lt;P&gt;Formula :&amp;nbsp;&lt;BR /&gt;=IF(DATE1&amp;gt;DATE2,null(),&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IF(DATE1&amp;lt;DATE2,count({&amp;lt;"Status1"={'open'},"Status2"={'close'}&amp;gt;}[Product])&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; , count({&amp;lt;"Status1"={'open'}&amp;gt;}[Product])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me with the formula below for the calculation I want to create table in the 2.JPG?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;additionally: i tried count total function but its counting all numbers&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's understandable that you see all dimension values, since you cleared the selection in Answer field in the set expression.&lt;/P&gt;
&lt;P&gt;Try multiplying your existing expression with an expression that return 1 for the selected values and 0 for the excluded:&lt;/P&gt;
&lt;P&gt;=sum( total &amp;lt;Question, Survey&amp;gt; {&amp;lt;Answer&amp;gt;} aggr(count( {&amp;lt;Answer&amp;gt;}Answer),Survey, Answer))* COUNT(DISTINCT 1)&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 04:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/I-have-a-question-regarding-the-total-count-function/m-p/1896930#M1217587</guid>
      <dc:creator>Claude1</dc:creator>
      <dc:date>2022-02-25T04:14:22Z</dc:date>
    </item>
  </channel>
</rss>

