<?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 null values/ zero in a pivot table calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345611#M127814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am calculating with this formula :&amp;nbsp; sum(paid)/sum(prem) over 6 month (oct thru march) and doing a partial sum. The problem is where there is 0 value in month for example march has 0 for (paid), the values am, getting looking like it dividing by 5 and not 6.&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Oct 2011 – 65%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Nov 2011 – 80%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Dec 2011 – 77%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Jan 2012 –&amp;nbsp; 77%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Feb 2012 – 53%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;March 2012 – 0%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I show the average should be 59%, however, the Six Month Average for the selected branch shows 71%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 20:25:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-10T20:25:19Z</dc:date>
    <item>
      <title>null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345611#M127814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am calculating with this formula :&amp;nbsp; sum(paid)/sum(prem) over 6 month (oct thru march) and doing a partial sum. The problem is where there is 0 value in month for example march has 0 for (paid), the values am, getting looking like it dividing by 5 and not 6.&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Oct 2011 – 65%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Nov 2011 – 80%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Dec 2011 – 77%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Jan 2012 –&amp;nbsp; 77%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Feb 2012 – 53%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;March 2012 – 0%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;I show the average should be 59%, however, the Six Month Average for the selected branch shows 71%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 20:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345611#M127814</guid>
      <dc:creator />
      <dc:date>2012-04-10T20:25:19Z</dc:date>
    </item>
    <item>
      <title>null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345612#M127815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you averaging the percentages or doing the calculation sum(paid)/sum(prem) for the six month period?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post some sample data, like the paid and prem values for those months as INLINE table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 23:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345612#M127815</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-10T23:44:03Z</dc:date>
    </item>
    <item>
      <title>null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345613#M127816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am doing a calculation sum(paid)/sum(prem) for the six month period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345613#M127816</guid>
      <dc:creator />
      <dc:date>2012-04-11T13:10:21Z</dc:date>
    </item>
    <item>
      <title>null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345614#M127817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing the numbers behind, it's hard to say what's going on. &lt;/P&gt;&lt;P&gt;sum(paid) / sum(prem) seems reasonably to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you shouldn't expect as result for the six months period the average of the single months percentage values. I believe you would need to compare to a weighted average.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345614#M127817</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-11T13:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345615#M127818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; here is a sample data and a snip pic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345615#M127818</guid>
      <dc:creator />
      <dc:date>2012-04-11T13:25:12Z</dc:date>
    </item>
    <item>
      <title>null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345616#M127819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you post the expression you have used for average?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345616#M127819</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-11T13:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345617#M127820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have 3 dimensions (Branchnum, agtwhole and a calculated one for month). the expression is&amp;nbsp; sum(paidbeyond)/sum(annprem).. I thinikng it s skipping the 0 values.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345617#M127820</guid>
      <dc:creator />
      <dc:date>2012-04-11T13:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345618#M127821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it seems to that there are no values in march.&lt;/P&gt;&lt;P&gt;So if QlikView counts the months there is no value for your dimension an the value is 5.&lt;/P&gt;&lt;P&gt;It should work if you add facts for march with value 0.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345618#M127821</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-04-11T13:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345619#M127822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Can you please explain what you mean by add fact..I am kind of new to this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345619#M127822</guid>
      <dc:creator />
      <dc:date>2012-04-11T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: null values/ zero in a pivot table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345620#M127823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate (your facts table) load distinct&lt;/P&gt;&lt;P&gt;0 as value,&lt;/P&gt;&lt;P&gt;'2012-03-01' as date,&lt;/P&gt;&lt;P&gt;customer,&lt;/P&gt;&lt;P&gt;artikel,&lt;/P&gt;&lt;P&gt;materialgroup&lt;/P&gt;&lt;P&gt;resident your facts table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for each facts-dimension(ID) you create a value 0 for march so that you can choose any dimension it is needed.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 13:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/null-values-zero-in-a-pivot-table-calculation/m-p/345620#M127823</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-04-11T13:53:57Z</dc:date>
    </item>
  </channel>
</rss>

