<?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: Sums in Pivot table with If formula in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24449#M1661</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;sounds good, but I get always a mistake in the formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr({$&amp;lt;Country__c={Germany},Status={qualified},IsConverted={0},IsDeleted={0},Business_Type__c={"Doors","VA Repairs"},[Lead.LeadSource]=-{"Other","Initiated: Prospecting"},OldValue={"qualified"}&amp;gt;}[LeadHistory.CreatedDate.autoCalendar.Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like there something missing, but I don´t know what...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 07:17:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-31T07:17:33Z</dc:date>
    <item>
      <title>Sums in Pivot table with If formula</title>
      <link>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24447#M1659</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 created several a formulas with an If formula within. The calculated values for each single item is correct, but the sum incorrect.&lt;/P&gt;&lt;P&gt;Can someone tell me why? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the first Column, you can see how many Items are found --&amp;gt; this line is correct (no if calculation)&lt;/P&gt;&lt;P&gt;Second column shows the age of every Item --&amp;gt; no if formula, calculation correct&lt;/P&gt;&lt;P&gt;Third Column: Doors calculation correct (IF Formula, but not one items, where this if formula is necessary) --&amp;gt; Calcuation for VA Repairs incorrect (the sum can not be taller then the sum of the second column, as this is a part of the total aging in the second column)&lt;/P&gt;&lt;P&gt;Fourth Column: If calculation give values not equal to 0 for every item, but the sum is 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191912_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and BR from Germany&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benjamin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24447#M1659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-30T16:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sums in Pivot table with If formula</title>
      <link>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24448#M1660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See here&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;Sum of rows in pivot tables ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short you need to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(YourExpressionHere, YourDimension/s))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24448#M1660</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-30T16:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sums in Pivot table with If formula</title>
      <link>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24449#M1661</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;sounds good, but I get always a mistake in the formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(aggr({$&amp;lt;Country__c={Germany},Status={qualified},IsConverted={0},IsDeleted={0},Business_Type__c={"Doors","VA Repairs"},[Lead.LeadSource]=-{"Other","Initiated: Prospecting"},OldValue={"qualified"}&amp;gt;}[LeadHistory.CreatedDate.autoCalendar.Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like there something missing, but I don´t know what...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 07:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24449#M1661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-31T07:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sums in Pivot table with If formula</title>
      <link>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24450#M1662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was your measure or dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 12:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sums-in-Pivot-table-with-If-formula/m-p/24450#M1662</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-31T12:23:13Z</dc:date>
    </item>
  </channel>
</rss>

