<?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 Total amount with if function in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216538#M69838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just been trying to think this through again, maybe set analysis is not the answer for you because of the IF statement, can you post an example QVW so I can take a look at your dimensions and expressions, it may be that you could use the AGGR function to achieve it, but I'm not sure.&lt;/P&gt;&lt;P&gt;PS: Is there any reason to choose a pivot over a straight table, a straight table would allow you to choose Sum of Rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2010 17:35:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-19T17:35:17Z</dc:date>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216533#M69833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two tables Sales and Forecast connected by Customer ID.&lt;/P&gt;&lt;P&gt;I have also an input field (Competenza_Forecast) that set the reference month. In a pivot table I have the following formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Competenza_Forecast &amp;gt;= [Mese.Mese],&lt;/P&gt;&lt;P&gt;sum(Forecast.Forecast),&lt;/P&gt;&lt;P&gt;sum(FatNetto)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;This enable the user to see in the pivot the total amount of sales for each customer until the month selected.&lt;/P&gt;&lt;P&gt;Everithing works fine but the total amount made by QV is wrong. Seems that the total is the Sum(FatNetto) independent of the selected month.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Can someone help?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 16:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216533#M69833</guid>
      <dc:creator />
      <dc:date>2010-01-19T16:07:25Z</dc:date>
    </item>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216534#M69834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried changing the sum type to Sum of Rows?&lt;/P&gt;&lt;P&gt;This should be available to you in the expressions tab of the pivot table properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 16:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216534#M69834</guid>
      <dc:creator />
      <dc:date>2010-01-19T16:36:59Z</dc:date>
    </item>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216535#M69835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nigel,&lt;/P&gt;&lt;P&gt;not available on the Pivot table. Always selected as Total Expression.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 17:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216535#M69835</guid>
      <dc:creator />
      <dc:date>2010-01-19T17:00:08Z</dc:date>
    </item>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216536#M69836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, sorry about that, rushing ahead with advice before checking.&lt;/P&gt;&lt;P&gt;I think you might need to make a selection to achieve this, or use set analysis function to sum up values up to that month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 17:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216536#M69836</guid>
      <dc:creator />
      <dc:date>2010-01-19T17:11:19Z</dc:date>
    </item>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216537#M69837</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;ok no problem, but... How to use set analysis to achive the goal? Have you any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 17:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216537#M69837</guid>
      <dc:creator />
      <dc:date>2010-01-19T17:13:30Z</dc:date>
    </item>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216538#M69838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just been trying to think this through again, maybe set analysis is not the answer for you because of the IF statement, can you post an example QVW so I can take a look at your dimensions and expressions, it may be that you could use the AGGR function to achieve it, but I'm not sure.&lt;/P&gt;&lt;P&gt;PS: Is there any reason to choose a pivot over a straight table, a straight table would allow you to choose Sum of Rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 17:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216538#M69838</guid>
      <dc:creator />
      <dc:date>2010-01-19T17:35:17Z</dc:date>
    </item>
    <item>
      <title>Total amount with if function in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216539#M69839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;ok here the model. Check only the Forecast. If you change Riferimento Forecast you can see that no change are made on the total. I need a pivot table, as you ca see, for giving the "navigation" to the users.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 18:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-amount-with-if-function-in-pivot-table/m-p/216539#M69839</guid>
      <dc:creator />
      <dc:date>2010-01-19T18:19:37Z</dc:date>
    </item>
  </channel>
</rss>

