<?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 Weightage &amp; Totals in drill down dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Weightage-Totals-in-drill-down-dimension/m-p/2933#M215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on Retail Sales Data where we are analyzing the Item Categories with respect to customers (No of Invoices) who bought items with those categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Drill down dimension is : Item Category --&amp;gt; Item Class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using standard master calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the sales table format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Invoice No&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;Qty&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Item Master table is as below:&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;Item&lt;/P&gt;&lt;P&gt;Item Category&lt;/P&gt;&lt;P&gt;Item Class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a simple table where I am showing for each Drill down category the weightage of customers; &lt;/P&gt;&lt;P&gt;ie :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(aggr(&amp;nbsp; (No of Customers buying items in this category) / (Total No of Customers),&amp;nbsp; [Item Category]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact there is a requirement from the customer to show the totals of percentages. (and that could go beyond 100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I drill down to Item Class; the figures are not correct. The table should show the weightage of customers of Item class with respect to all customers. (All classes in All Categories). whereas it just shows 100%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 11:30:16 GMT</pubDate>
    <dc:creator>madnanansari</dc:creator>
    <dc:date>2018-01-18T11:30:16Z</dc:date>
    <item>
      <title>Weightage &amp; Totals in drill down dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Weightage-Totals-in-drill-down-dimension/m-p/2933#M215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on Retail Sales Data where we are analyzing the Item Categories with respect to customers (No of Invoices) who bought items with those categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Drill down dimension is : Item Category --&amp;gt; Item Class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using standard master calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the sales table format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Invoice No&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;Qty&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Item Master table is as below:&lt;/P&gt;&lt;P&gt;Item Code&lt;/P&gt;&lt;P&gt;Item&lt;/P&gt;&lt;P&gt;Item Category&lt;/P&gt;&lt;P&gt;Item Class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a simple table where I am showing for each Drill down category the weightage of customers; &lt;/P&gt;&lt;P&gt;ie :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(aggr(&amp;nbsp; (No of Customers buying items in this category) / (Total No of Customers),&amp;nbsp; [Item Category]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Infact there is a requirement from the customer to show the totals of percentages. (and that could go beyond 100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I drill down to Item Class; the figures are not correct. The table should show the weightage of customers of Item class with respect to all customers. (All classes in All Categories). whereas it just shows 100%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 11:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Weightage-Totals-in-drill-down-dimension/m-p/2933#M215</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2018-01-18T11:30:16Z</dc:date>
    </item>
  </channel>
</rss>

