<?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 KPIs and Tables. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1946956#M78023</link>
    <description>&lt;DIV id="tinyMceEditorLuis_ArochoLLantin_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;A customer is using KPIs and Tables with the same formula and she is getting different results. She wants to know why this is happening. Is there anything wrong with the formula?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luis_ArochoLLantin_2-1655912329926.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82421i766FFD2E714326CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luis_ArochoLLantin_2-1655912329926.png" alt="Luis_ArochoLLantin_2-1655912329926.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luis_ArochoLLantin_3-1655912342562.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82422i7C4F537AEF2E8F2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luis_ArochoLLantin_3-1655912342562.png" alt="Luis_ArochoLLantin_3-1655912342562.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorLuis_ArochoLLantin_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luis_ArochoLLantin_4-1655912380616.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82424iDF32D5167DE0A205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luis_ArochoLLantin_4-1655912380616.png" alt="Luis_ArochoLLantin_4-1655912380616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 15:40:51 GMT</pubDate>
    <dc:creator>Luis_Arocho-LLantin</dc:creator>
    <dc:date>2022-06-22T15:40:51Z</dc:date>
    <item>
      <title>KPIs and Tables.</title>
      <link>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1946956#M78023</link>
      <description>&lt;DIV id="tinyMceEditorLuis_ArochoLLantin_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;STRONG&gt;A customer is using KPIs and Tables with the same formula and she is getting different results. She wants to know why this is happening. Is there anything wrong with the formula?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luis_ArochoLLantin_2-1655912329926.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82421i766FFD2E714326CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luis_ArochoLLantin_2-1655912329926.png" alt="Luis_ArochoLLantin_2-1655912329926.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luis_ArochoLLantin_3-1655912342562.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82422i7C4F537AEF2E8F2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luis_ArochoLLantin_3-1655912342562.png" alt="Luis_ArochoLLantin_3-1655912342562.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorLuis_ArochoLLantin_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luis_ArochoLLantin_4-1655912380616.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82424iDF32D5167DE0A205/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luis_ArochoLLantin_4-1655912380616.png" alt="Luis_ArochoLLantin_4-1655912380616.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 15:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1946956#M78023</guid>
      <dc:creator>Luis_Arocho-LLantin</dc:creator>
      <dc:date>2022-06-22T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: KPIs and Tables.</title>
      <link>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1946997#M78029</link>
      <description>&lt;P&gt;Are they suppressing NULL values for 'Respondent Name'&amp;nbsp; or ''Email Address' in the table?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 16:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1946997#M78029</guid>
      <dc:creator>Qlik_Eric_Thomas</dc:creator>
      <dc:date>2022-06-22T16:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: KPIs and Tables.</title>
      <link>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1947071#M78037</link>
      <description>&lt;P&gt;The differences may have something to do with suppressing nulls, but I would suggest that the expression is incorrectly formulated to begin with.&amp;nbsp; I understand the user wants to "count CountResponseNumber where ResponseStatusFilter is not 'Partial Response' or 'Status Not Reported'".&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand the requirement correctly, then the correct structure would be to put the if test inside the Count().&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Count(DISTINCT If(ResponseStatusFilter &amp;lt;&amp;gt; 'Partial Response' or ResponseStatusFilter &amp;lt;&amp;gt; 'Status Not Reported', CountResponseNumber))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;or better&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Count(DISTINCT If(not Match(ResponseStatusFilter, 'Partial Response',&amp;nbsp; 'Status Not Reported'),CountResponseNumber))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;or even better still use Set Analysis:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Count({&amp;lt;ResponseStatusFilter -= {'Partial Response',&amp;nbsp; 'Status Not Reported'}&amp;gt;} DISTINCT CountResponseNumber)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;There is a logical difference between putting the If() inside or outside of an aggregation.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if(test, Sum(x))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;If the test is true, Sum(x) -- that's all x values.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum(if(test, x))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Sum x values only where the test is true.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My guess is that in the example, all the reported counts for CountResponseNumber are too large.&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 19:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPIs-and-Tables/m-p/1947071#M78037</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-06-22T19:54:12Z</dc:date>
    </item>
  </channel>
</rss>

