<?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: Urgent: Set Analysis Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268386#M100768</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;See attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Succes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Halmar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2011 06:55:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-24T06:55:29Z</dc:date>
    <item>
      <title>Urgent: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268385#M100767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot chart in the following format with product, month as dimensions and sales, customers as measures. Please note that the dimension &lt;BR /&gt;Product takes the value "Total" and it is not the grand total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month1 &lt;BR /&gt;Product Sales Customers&lt;BR /&gt;A&amp;nbsp; 100 &lt;BR /&gt;B&amp;nbsp; 200 &lt;BR /&gt;C&amp;nbsp; 300&amp;nbsp; 1&lt;BR /&gt;D&amp;nbsp; 400 &lt;BR /&gt;E&amp;nbsp; 500&amp;nbsp; 1&lt;BR /&gt;Total&amp;nbsp; 1500&amp;nbsp; 2&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;When i use set analysis to get the customers for Product "Total" by using the expression &lt;/P&gt;&lt;P&gt;Avg. Sales = sum(Sales)/sum({$&amp;lt;[Product] = {'Total'}&amp;gt;}Customers)&lt;/P&gt;&lt;P&gt;i get the avg. sales populated only for one row which is for the product "Total" row, but it is not showing the values for all the products,&lt;BR /&gt;not sure why this is happening. &lt;/P&gt;&lt;P&gt;Month1 &lt;BR /&gt;Product&amp;nbsp; Sales Customers Avg. Sales&lt;BR /&gt;A&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;B&amp;nbsp; 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;C&amp;nbsp; 300&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;D&amp;nbsp; 400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;E&amp;nbsp; 500&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;BR /&gt;Total&amp;nbsp; 1500&amp;nbsp; 2 750&lt;/P&gt;&lt;P&gt;Ideally i would like to have the output to be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month1 &lt;BR /&gt;Product&amp;nbsp; Sales Customers Avg. Sales&lt;BR /&gt;A&amp;nbsp; 100&amp;nbsp;&amp;nbsp; 50&lt;BR /&gt;B&amp;nbsp; 200&amp;nbsp;&amp;nbsp; 100&lt;BR /&gt;C&amp;nbsp; 300&amp;nbsp; 1 150&lt;BR /&gt;D&amp;nbsp; 400&amp;nbsp;&amp;nbsp; 200&lt;BR /&gt;E&amp;nbsp; 500&amp;nbsp; 1 250&lt;BR /&gt;Total&amp;nbsp; 1500&amp;nbsp; 2 750&lt;/P&gt;&lt;P&gt;Your feedback is really appreciated&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Tkx&lt;BR /&gt;-Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Oct 2011 14:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268385#M100767</guid>
      <dc:creator />
      <dc:date>2011-10-22T14:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268386#M100768</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;See attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Succes!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Halmar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 06:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268386#M100768</guid>
      <dc:creator />
      <dc:date>2011-10-24T06:55:29Z</dc:date>
    </item>
    <item>
      <title>Urgent: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268387#M100769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Halmar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution you have provided works perfectly for one dimension (although i am not sure why it says error in expression).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case i have two dimensions, once i use this, the total customers is getting added across all the values of the second dimension so the number of customers are getting inflated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of getting around this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tkx.&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 15:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268387#M100769</guid>
      <dc:creator />
      <dc:date>2011-10-24T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268388#M100770</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;Can you give me a sample of your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I add a second dimension and nothing changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Halmar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 09:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268388#M100770</guid>
      <dc:creator />
      <dc:date>2011-10-25T09:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent: Set Analysis Help</title>
      <link>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268389#M100771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Halmar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the sample qlikview file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the qlikview file, in month 01, ideally when i calculate the Avg. Sales the sales value should have been divided by the customers for product "Total" in that month, but it takes the customers across all months. Not sure why this is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;-Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 04:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Urgent-Set-Analysis-Help/m-p/268389#M100771</guid>
      <dc:creator />
      <dc:date>2011-10-27T04:49:16Z</dc:date>
    </item>
  </channel>
</rss>

