<?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 Dimensionality ? Wrong sum in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimensionality-Wrong-sum-in-Pivot/m-p/181201#M47314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem I can't seem to find the solution to.&lt;/P&gt;&lt;P&gt;I have a pivot table showing turnover and invoiced contra budget. The turnover tallies but the invoiced shows wrong amount on detail level (ok on Total).&lt;/P&gt;&lt;P&gt;The reason for this is that on budget and turnover level I have a Claim_Type at Client_Id level and one of the Client_Ids (the ones ending on 1) have several Claim_Type (1 and 9). This Claim_Type dosen't exists in the Invoice table which is based solely on Client_Id. Therefore QV dosen't know which Claim_Type to put invoiced amount on and puts it on both.&lt;/P&gt;&lt;P&gt;The amount on Claim_Type 9 with the red ring around it in the enclosed is incorrect.&lt;/P&gt;&lt;P&gt;I have tried to fake a Claim_Type in the invoice table and use it in expression, but it just multiplies the invoiced amount. I have also tried to make a Dimensionality in order to only get total amount but it requires that the user then select invoice date also besides budget date which then de-selects Client_ids where invoiced =0 which is also wrong.&lt;/P&gt;&lt;P&gt;Anybody has any ideas who to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 17:37:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-09T17:37:09Z</dc:date>
    <item>
      <title>Dimensionality ? Wrong sum in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensionality-Wrong-sum-in-Pivot/m-p/181201#M47314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem I can't seem to find the solution to.&lt;/P&gt;&lt;P&gt;I have a pivot table showing turnover and invoiced contra budget. The turnover tallies but the invoiced shows wrong amount on detail level (ok on Total).&lt;/P&gt;&lt;P&gt;The reason for this is that on budget and turnover level I have a Claim_Type at Client_Id level and one of the Client_Ids (the ones ending on 1) have several Claim_Type (1 and 9). This Claim_Type dosen't exists in the Invoice table which is based solely on Client_Id. Therefore QV dosen't know which Claim_Type to put invoiced amount on and puts it on both.&lt;/P&gt;&lt;P&gt;The amount on Claim_Type 9 with the red ring around it in the enclosed is incorrect.&lt;/P&gt;&lt;P&gt;I have tried to fake a Claim_Type in the invoice table and use it in expression, but it just multiplies the invoiced amount. I have also tried to make a Dimensionality in order to only get total amount but it requires that the user then select invoice date also besides budget date which then de-selects Client_ids where invoiced =0 which is also wrong.&lt;/P&gt;&lt;P&gt;Anybody has any ideas who to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 17:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensionality-Wrong-sum-in-Pivot/m-p/181201#M47314</guid>
      <dc:creator />
      <dc:date>2009-12-09T17:37:09Z</dc:date>
    </item>
    <item>
      <title>Dimensionality ? Wrong sum in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensionality-Wrong-sum-in-Pivot/m-p/181202#M47315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution to my problem. Instead of Sum(if(..... it should be If(.... , sum.... This makes the correct summation:&lt;/P&gt;&lt;P&gt;IF(CLAIM_TYPE=9, 0, SUM(if(TurnoverBudgetMonth=Ledgerinvoice_InvoiceMonthYear,(LedgerInvoice_Amount))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 15:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensionality-Wrong-sum-in-Pivot/m-p/181202#M47315</guid>
      <dc:creator />
      <dc:date>2009-12-10T15:15:43Z</dc:date>
    </item>
  </channel>
</rss>

