<?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 Qlik Sense Calculation with Missing Data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Calculation-with-Missing-Data/m-p/1294120#M27334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;I recently posted an issue I was having with missing data, and received a solution for it.&amp;nbsp; However, I am having a similar issue and am unable to resolve it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;The original issue is documented in this post:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="background: white;"&gt;&lt;SPAN style="font-size: 19.5pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1307503#1307503"&gt;&lt;SPAN style="font-family: inherit; color: #3778c7;"&gt;Qlik Sense Calculation with Missing Data&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;The issue I am having now is similar, but not the same.&amp;nbsp; Originally, I was having a problem with a restaurant that has missing current week sales, but sales exists for the prior 4 weeks, and I received a solution for that.&amp;nbsp; Now, the issue is with a restaurant that has current week sales, but is missing sales for the prior 4 weeks.&amp;nbsp; I tried to implement the solution for the original problem, but I am not able to get it to work in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;Here is an illustration of the problem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 543px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="80" width="74"&gt;Restaurant&lt;/TD&gt;&lt;TD class="xl67" width="71"&gt;Sales&lt;/TD&gt;&lt;TD class="xl66" width="76"&gt;Trailing 4 Weeks&lt;/TD&gt;&lt;TD class="xl66" width="77"&gt;Growth %&lt;BR /&gt; (Incorrect)&lt;/TD&gt;&lt;TD class="xl66" width="77"&gt;Sales for Calc (Correct)&lt;/TD&gt;&lt;TD class="xl66" width="77"&gt;Trailing 4 Weeks for Calc (Correct)&lt;/TD&gt;&lt;TD class="xl66" width="91"&gt;Growth %&lt;BR /&gt; (Correct)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="74"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl63" width="76"&gt;549.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;-9.0%&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;549.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;-9.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" width="74"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl73" width="76"&gt;615.25&lt;/TD&gt;&lt;TD class="xl68"&gt;N/A&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;0&lt;/TD&gt;&lt;TD&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" width="74"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;546&lt;/TD&gt;&lt;TD align="right" class="xl63" width="76"&gt;480.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;13.7%&lt;/TD&gt;&lt;TD align="right"&gt;546&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;480.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;13.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="74"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;845&lt;/TD&gt;&lt;TD align="right" class="xl63" width="76"&gt;698.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;21.0%&lt;/TD&gt;&lt;TD align="right"&gt;845&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;698.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;21.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="74"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;555&lt;/TD&gt;&lt;TD align="right" class="xl73" width="76"&gt;0&lt;/TD&gt;&lt;TD class="xl68"&gt;N/A&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;0&lt;/TD&gt;&lt;TD class="xl68"&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;611.50&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;585.75&lt;/TD&gt;&lt;TD align="right" class="xl70" style="background-color: #ffff99;"&gt;4.4%&lt;/TD&gt;&lt;TD align="right"&gt;630.333333&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;575.92&lt;/TD&gt;&lt;TD align="right" class="xl71" style="background-color: #99cc00;"&gt;9.4%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue'; font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;In the above example, the original issue was with Restaurant 2.&amp;nbsp; I have a similar issue with Restaurant 5.&amp;nbsp; Both of these restaurants should not be included in the Total calculation.&amp;nbsp; The correct Growth % is 9.4%, not the 4.4% that is being calculated currently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;I have attached the original app updated with the Restaurant 5 example.&amp;nbsp; Can someone help provide me with how I can calculate the total Growth % without including Restaurants 2 and 5?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2017 12:26:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-26T12:26:45Z</dc:date>
    <item>
      <title>Qlik Sense Calculation with Missing Data</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Calculation-with-Missing-Data/m-p/1294120#M27334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;I recently posted an issue I was having with missing data, and received a solution for it.&amp;nbsp; However, I am having a similar issue and am unable to resolve it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;The original issue is documented in this post:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="background: white;"&gt;&lt;SPAN style="font-size: 19.5pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1307503#1307503"&gt;&lt;SPAN style="font-family: inherit; color: #3778c7;"&gt;Qlik Sense Calculation with Missing Data&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;The issue I am having now is similar, but not the same.&amp;nbsp; Originally, I was having a problem with a restaurant that has missing current week sales, but sales exists for the prior 4 weeks, and I received a solution for that.&amp;nbsp; Now, the issue is with a restaurant that has current week sales, but is missing sales for the prior 4 weeks.&amp;nbsp; I tried to implement the solution for the original problem, but I am not able to get it to work in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;Here is an illustration of the problem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 543px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="80" width="74"&gt;Restaurant&lt;/TD&gt;&lt;TD class="xl67" width="71"&gt;Sales&lt;/TD&gt;&lt;TD class="xl66" width="76"&gt;Trailing 4 Weeks&lt;/TD&gt;&lt;TD class="xl66" width="77"&gt;Growth %&lt;BR /&gt; (Incorrect)&lt;/TD&gt;&lt;TD class="xl66" width="77"&gt;Sales for Calc (Correct)&lt;/TD&gt;&lt;TD class="xl66" width="77"&gt;Trailing 4 Weeks for Calc (Correct)&lt;/TD&gt;&lt;TD class="xl66" width="91"&gt;Growth %&lt;BR /&gt; (Correct)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="74"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl63" width="76"&gt;549.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;-9.0%&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;549.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;-9.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" width="74"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl73" width="76"&gt;615.25&lt;/TD&gt;&lt;TD class="xl68"&gt;N/A&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;0&lt;/TD&gt;&lt;TD&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" width="74"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;546&lt;/TD&gt;&lt;TD align="right" class="xl63" width="76"&gt;480.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;13.7%&lt;/TD&gt;&lt;TD align="right"&gt;546&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;480.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;13.7%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="74"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;845&lt;/TD&gt;&lt;TD align="right" class="xl63" width="76"&gt;698.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;21.0%&lt;/TD&gt;&lt;TD align="right"&gt;845&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;698.25&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;21.0%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" width="74"&gt;5&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;555&lt;/TD&gt;&lt;TD align="right" class="xl73" width="76"&gt;0&lt;/TD&gt;&lt;TD class="xl68"&gt;N/A&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl63" width="77"&gt;0&lt;/TD&gt;&lt;TD class="xl68"&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Total&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;611.50&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;585.75&lt;/TD&gt;&lt;TD align="right" class="xl70" style="background-color: #ffff99;"&gt;4.4%&lt;/TD&gt;&lt;TD align="right"&gt;630.333333&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;575.92&lt;/TD&gt;&lt;TD align="right" class="xl71" style="background-color: #99cc00;"&gt;9.4%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue'; font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;In the above example, the original issue was with Restaurant 2.&amp;nbsp; I have a similar issue with Restaurant 5.&amp;nbsp; Both of these restaurants should not be included in the Total calculation.&amp;nbsp; The correct Growth % is 9.4%, not the 4.4% that is being calculated currently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica Neue'; color: #3d3d3d;"&gt;I have attached the original app updated with the Restaurant 5 example.&amp;nbsp; Can someone help provide me with how I can calculate the total Growth % without including Restaurants 2 and 5?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Calculation-with-Missing-Data/m-p/1294120#M27334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T12:26:45Z</dc:date>
    </item>
  </channel>
</rss>

