<?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: How to show both zero rows and non zero rows in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289824#M27190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher, that's the default behaviour, it helps removing data you are not setting the focus, but it can be avoided using set analysis to ignore selections, try adding +Sum({1} 0) to your expression:&lt;/P&gt;&lt;P&gt;Sum(Costs)&lt;SPAN style="font-size: 13.3333px;"&gt;+Sum({1} 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jan 2017 00:26:39 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2017-01-21T00:26:39Z</dc:date>
    <item>
      <title>How to show both zero rows and non zero rows</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289823#M27189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue and I wanted to get your inputs. &lt;/P&gt;&lt;P&gt;First some context...&lt;/P&gt;&lt;P&gt;One of the advantages in QLIK is the "full outer join" default.&amp;nbsp; This means we always have all of the data. Except it doesn't....&lt;/P&gt;&lt;P&gt;When we filter on a filter value, the dependent table in a sheet removes all values that don't meet that criteria. How do we keep the values that don't meet that criteria.&amp;nbsp; Allow me to explain. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table in a sheet. It sums costs and total counts of orders.&amp;nbsp; When I leave the filters blank I get the complete cardinality of my customers.&amp;nbsp; When I select a month, say "Jan 2017", The table filters for all my customer who have placed an order in Jan. 2017.&amp;nbsp; But this is not what I need in this instance. I need the table to sum the values for Jan, 2017 for all customers that placed an order in Jan, 2017. and display "0" for any customers that have NOT placed an order in Jan. 2017. I do not want the table to filter the set of customer, I want it to continue to show all customers. This way I can see who placed orders and how much, AND I can look at my customers who have stopped placing orders and perhaps check in them and see if they need anything.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your input...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With no filters---&lt;/P&gt;&lt;P&gt;&lt;IMG alt="NoFilterHasZeros.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/150301_NoFilterHasZeros.PNG" style="height: 186px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I select a month...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="FilterSelectedNoZeros.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/150300_FilterSelectedNoZeros.PNG" style="font-size: 13.3333px; height: 190px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289823#M27189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-21T00:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to show both zero rows and non zero rows</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289824#M27190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher, that's the default behaviour, it helps removing data you are not setting the focus, but it can be avoided using set analysis to ignore selections, try adding +Sum({1} 0) to your expression:&lt;/P&gt;&lt;P&gt;Sum(Costs)&lt;SPAN style="font-size: 13.3333px;"&gt;+Sum({1} 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 00:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289824#M27190</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-01-21T00:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to show both zero rows and non zero rows</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289825#M27191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By adding a null value for each OrgNodeID for each month you can always see all OrgNodeIDs in each month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14849633726688738 jive_text_macro" jivemacro_uid="_14849633726688738" modifiedtitle="true"&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;LOAD &lt;/P&gt;
&lt;P&gt; *&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;OrgNodeID, OrderMnth, Cost&lt;/P&gt;
&lt;P&gt;A, 1 , 1&lt;/P&gt;
&lt;P&gt;A, 3 , 2&lt;/P&gt;
&lt;P&gt;A, 4 , 3&lt;/P&gt;
&lt;P&gt;B, 2, 4&lt;/P&gt;
&lt;P&gt;B, 3, 5&lt;/P&gt;
&lt;P&gt;B, 5 , 6&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;nBiz = FieldValueCount('OrgNodeID');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;// This will add rows to the above table since the fields are the same (called auto concatenation)&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldValue('OrgNodeID',RecNo()) AS OrgNodeID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IterNo() AS OrderMnth,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Null() AS Cost&amp;nbsp;&amp;nbsp; // By putting in NULL the Count(TOTAL Cost) will be correct too&lt;/P&gt;
&lt;P&gt;AUTOGENERATE&lt;/P&gt;
&lt;P&gt;&amp;nbsp; $(nBiz)&lt;/P&gt;
&lt;P&gt;WHILE IterNo()&amp;lt;=12 ;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;nBiz=;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 01:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289825#M27191</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2017-01-21T01:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to show both zero rows and non zero rows</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289826#M27192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your answers. In this instance I want to avoid creating extra data in the tables since this dashboard will not be limited to looking at "who &lt;SPAN style="font-size: 13.3333px;"&gt;did/did not&lt;/SPAN&gt; placed orders this month" and may even go down to "who did/did not placed order on this day". Also, the end users for this app will not have the ability to alter the data load, and I can anticipate all the scenario's that they will request. Thank again to you both. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-both-zero-rows-and-non-zero-rows/m-p/1289826#M27192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-23T18:24:42Z</dc:date>
    </item>
  </channel>
</rss>

