<?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: Aggregation of Inventory Across Time Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445922#M560862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You likely could create some sort of complex equation however in my opinion that would be the 'hard way' to achieve this.&amp;nbsp; Since you have a defined hierarchy with only 3 level, I would recommend going with three charts and using buttons to show/hide the charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 would be at the Year Level&lt;/P&gt;&lt;P&gt;Chart 2 would be at the Month Level&lt;/P&gt;&lt;P&gt;Chart 3 would be at the Week Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushing the "Month Level" button would show Chart 2 and hide Chart 1 &amp;amp; 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also have the advantage of taking up less header space with the expanding pivot table.&amp;nbsp; Also it will be easier for users to move between levels because they will have a button to push vs needing to hit the little expand buttons in the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A similar technique is used on the &lt;A href="http://eu.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FOrder%20and%20Inventory%20Management.qvw&amp;amp;host=Demo11"&gt;Order and Inventory Management Demo&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also want to check out this video to see the general show/hide technique:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/199668"&gt;Show and Hide Multiple Objects&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 16:22:50 GMT</pubDate>
    <dc:creator>Josh_Good</dc:creator>
    <dc:date>2013-12-11T16:22:50Z</dc:date>
    <item>
      <title>Aggregation of Inventory Across Time Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445920#M560860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem where the requirement is to reflect an "ending inventory" for each dimension of a calendar hierarchy. So, in other words, when I view a "Month's" inventory, I am viewing the last week of that Month's inventory (not the sum of ALL of the weeks of inventory for that month). And the same would apply for a Quarter, Season or Year. I DO want to "sum" the inventory across other "hierarchies" like products and locations. An illustration from my app is provided below. The values for the week 3/30/13 should be reflected in the Total March (which is actually reflecting the SUM of each week). I am guessing a variation of "Aggr" would be used but not sure how to approach. Thank you for any help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="38001" class="jive-image-thumbnail jive-image" height="438" onclick="" alt="Inv Snapshot2.jpg" src="/legacyfs/online/38001_Inv Snapshot2.jpg" width="678" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 15:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445920#M560860</guid>
      <dc:creator />
      <dc:date>2013-04-11T15:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation of Inventory Across Time Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445921#M560861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct - you cannot usually sum inventory quantities like other things although, depending on the requirements, sometimes you can average the inventory quantities.&lt;/P&gt;&lt;P&gt;If you have weekly inventory data and you want to sum up quantities but only for the last week week of the month you can do something like this:&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( if(Month(invdate)&amp;lt;&amp;gt;Month(invdate+7), invquantity)&amp;nbsp; )&amp;nbsp; &lt;/P&gt;&lt;P&gt;The idea works if you use the Year function instead of Month to get the last week of the year. And you could use something like this&amp;nbsp;&amp;nbsp;&amp;nbsp; sum( if(QuarterName(invdate)&amp;lt;&amp;gt;QuarterName(invdate+7), invquantity)&amp;nbsp; )&amp;nbsp;&amp;nbsp; to sum inventories from the last week of the quarter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 18:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445921#M560861</guid>
      <dc:creator />
      <dc:date>2013-04-12T18:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation of Inventory Across Time Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445922#M560862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You likely could create some sort of complex equation however in my opinion that would be the 'hard way' to achieve this.&amp;nbsp; Since you have a defined hierarchy with only 3 level, I would recommend going with three charts and using buttons to show/hide the charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 would be at the Year Level&lt;/P&gt;&lt;P&gt;Chart 2 would be at the Month Level&lt;/P&gt;&lt;P&gt;Chart 3 would be at the Week Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushing the "Month Level" button would show Chart 2 and hide Chart 1 &amp;amp; 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also have the advantage of taking up less header space with the expanding pivot table.&amp;nbsp; Also it will be easier for users to move between levels because they will have a button to push vs needing to hit the little expand buttons in the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A similar technique is used on the &lt;A href="http://eu.demo.qlik.com/QvAJAXZfc/opendoc.htm?document=qvdocs%2FOrder%20and%20Inventory%20Management.qvw&amp;amp;host=Demo11"&gt;Order and Inventory Management Demo&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also want to check out this video to see the general show/hide technique:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/199668"&gt;Show and Hide Multiple Objects&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-of-Inventory-Across-Time-Dimension/m-p/445922#M560862</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2013-12-11T16:22:50Z</dc:date>
    </item>
  </channel>
</rss>

