<?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 Problem with null values in total in adhoc report in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-in-total-in-adhoc-report/m-p/804897#M536678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made an ad hoc report with 12 dimensions and 6 measures for the users to select from, along with a dynamic total (if the user selects dimension 1,3 &amp;amp; 4 then the total is displayed as measure 1+3+4&amp;nbsp; as so on).&lt;/P&gt;&lt;P&gt;the problem i am facing is that when the measures values are mapped against a null value in dimension, the value is shown in the individual columns but not in the dynamic total. please find a screenshot below and also attached, along with the expression I am using.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70896_screenshot.png" style="width: 620px; height: 104px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Notice the value in Last Row (#N/A)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total 1 expression is &lt;/P&gt;&lt;P&gt;= &lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M6')&amp;gt;0,[Sales Till Last Cutoff],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M2')&amp;gt;0,[In Progress],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M3')&amp;gt;0,[Credit Hold],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M4')&amp;gt;0,[Complaince Hold],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M5')&amp;gt;0,[Error],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M1')&amp;gt;0,[Invoiced Since Last Cutoff],0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;with Sum of Rows as Total Mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total 2 has same expression as the Total 1, but &lt;STRONG&gt;with Expression Total as Total Mode. &lt;/STRONG&gt;This is considering the values in the total but not displaying them.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Total 3 is column(1)+column(2)+column(3)+column(4)+column(5)+column(6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the values to display in the last row in Total 1 or Total 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Apoorv Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 06:18:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-11T06:18:49Z</dc:date>
    <item>
      <title>Problem with null values in total in adhoc report</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-null-values-in-total-in-adhoc-report/m-p/804897#M536678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made an ad hoc report with 12 dimensions and 6 measures for the users to select from, along with a dynamic total (if the user selects dimension 1,3 &amp;amp; 4 then the total is displayed as measure 1+3+4&amp;nbsp; as so on).&lt;/P&gt;&lt;P&gt;the problem i am facing is that when the measures values are mapped against a null value in dimension, the value is shown in the individual columns but not in the dynamic total. please find a screenshot below and also attached, along with the expression I am using.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/70896_screenshot.png" style="width: 620px; height: 104px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Notice the value in Last Row (#N/A)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total 1 expression is &lt;/P&gt;&lt;P&gt;= &lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M6')&amp;gt;0,[Sales Till Last Cutoff],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M2')&amp;gt;0,[In Progress],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M3')&amp;gt;0,[Credit Hold],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M4')&amp;gt;0,[Complaince Hold],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M5')&amp;gt;0,[Error],0)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;if(SubStringCount(Concat(ID2,'|'),'M1')&amp;gt;0,[Invoiced Since Last Cutoff],0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;with Sum of Rows as Total Mode&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total 2 has same expression as the Total 1, but &lt;STRONG&gt;with Expression Total as Total Mode. &lt;/STRONG&gt;This is considering the values in the total but not displaying them.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Total 3 is column(1)+column(2)+column(3)+column(4)+column(5)+column(6)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the values to display in the last row in Total 1 or Total 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Apoorv Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 06:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-null-values-in-total-in-adhoc-report/m-p/804897#M536678</guid>
      <dc:creator />
      <dc:date>2014-11-11T06:18:49Z</dc:date>
    </item>
  </channel>
</rss>

