<?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: Set analysis Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Query/m-p/378483#M1169822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try putting the IF() inside the Aggr():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGGR(SUM(IF(Expression='Quantity',Qty,Unit)),invoiceno,orderquantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 11:56:40 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2012-08-16T11:56:40Z</dc:date>
    <item>
      <title>Set analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Query/m-p/378482#M1169820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please tell me how to write &lt;/P&gt;&lt;P&gt;IF(Expression= Quantity,SUM(AGGR(SUM(Qty),invoiceno,orderquantity)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Expression = Unit, SUM(AGGR(SUM(Unit),invoiceno,orderquantity))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a pie chart where the dimension is the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression is a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;Unit&lt;/P&gt;&lt;P&gt;Quantity%&lt;/P&gt;&lt;P&gt;Unit%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 11:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Query/m-p/378482#M1169820</guid>
      <dc:creator />
      <dc:date>2012-08-16T11:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Query</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Query/m-p/378483#M1169822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try putting the IF() inside the Aggr():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGGR(SUM(IF(Expression='Quantity',Qty,Unit)),invoiceno,orderquantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 11:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Query/m-p/378483#M1169822</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-08-16T11:56:40Z</dc:date>
    </item>
  </channel>
</rss>

