<?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: Sum of Mix Aggregated by Product Presentation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103697#M365722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached, using advanced aggregation to calculate the sum-of-rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there should be an easier expression to calculate the same, but it seems it's too late right now for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 22:15:35 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-08-12T22:15:35Z</dc:date>
    <item>
      <title>Sum of Mix Aggregated by Product Presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103696#M365721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate a KPI called Mix for each Product specific Presentation (every Product has one or more Presentations) and Sum the result for the Product (but still aggregated by Presentation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Formula is:&lt;BR /&gt;[ Presentation Unit Sales - &lt;BR /&gt;{ Product Unit Sales x&lt;/P&gt;&lt;P&gt;(Previous Presentation Unit Sales / Previous Product Unit Sales)&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;x&lt;BR /&gt;Previous Average Price -&amp;gt; &lt;SPAN style="font-size: 13.3333px;"&gt;Previous Presentation Sales / &lt;SPAN style="font-size: 13.3333px;"&gt;Previous Presentation Unit Sales&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While showing the results by Presentation, I get the desired value, but when showing by Product, the result is 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sending attached a qvw file with to straight tables, one with the Presentation as a dimension (which gives the proper results for Product Mix only when Summing the rows for the total) and onde with Product as a dimension (which gives 0 as result for the Mix)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I'm sending an excel worksheet with the data used in the QVW file and a tab named: "Specific Product", which has the desired result for the Mix in bold red on cell I6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, in advance...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 21:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103696#M365721</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-08-12T21:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Mix Aggregated by Product Presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103697#M365722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached, using advanced aggregation to calculate the sum-of-rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there should be an easier expression to calculate the same, but it seems it's too late right now for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 22:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103697#M365722</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-08-12T22:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Mix Aggregated by Product Presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103698#M365723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr((Sum([Unit Sales]) - (Sum(TOTAL &amp;lt;Product&amp;gt;[Unit Sales]) * (Sum([Previous Unit Sales])/Sum(TOTAL &amp;lt;Product&amp;gt; [Previous Unit Sales])))) * (Sum([Previous Sales])/Sum([Previous Unit Sales])), Product, Presentation))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 22:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103698#M365723</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-12T22:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Mix Aggregated by Product Presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103699#M365724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! That's it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 22:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103699#M365724</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-08-12T22:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Mix Aggregated by Product Presentation</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103700#M365725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks too, also correct!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 22:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-Mix-Aggregated-by-Product-Presentation/m-p/1103700#M365725</guid>
      <dc:creator>kira_whopper</dc:creator>
      <dc:date>2016-08-12T22:24:01Z</dc:date>
    </item>
  </channel>
</rss>

