<?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 Average Inventory Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449786#M434077</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;&lt;SPAN style="color: #363636; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Avg( Aggr( Sum(Qtyl), Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The above expression worked to some extent.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now When i am drilling down to the final date, Its not giving me the correct answer.&lt;/P&gt;&lt;P&gt;I have my data as - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 472px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Dept&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="82"&gt;WorkCenter&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="70"&gt;Sub Dept&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Qty&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Co. Code&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;PURE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KARAT&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;PURE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;SPRUE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHK&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FILWIP&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHK&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHK&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FILWIP&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to check drill down on a single date say 2nd Jan = Total Inventory of Qty = 180&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Note this is sample data and will contain data from 1st Jan to 31st Oct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vikas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2017 05:29:18 GMT</pubDate>
    <dc:creator>vikas_nandanwar</dc:creator>
    <dc:date>2017-11-24T05:29:18Z</dc:date>
    <item>
      <title>Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449786#M434077</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;&lt;SPAN style="color: #363636; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Avg( Aggr( Sum(Qtyl), Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The above expression worked to some extent.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now When i am drilling down to the final date, Its not giving me the correct answer.&lt;/P&gt;&lt;P&gt;I have my data as - &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 472px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Dept&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="82"&gt;WorkCenter&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="70"&gt;Sub Dept&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Qty&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Co. Code&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;PURE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KARAT&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;PURE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;SPRUE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHK&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FILWIP&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHK&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;3-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHK&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FILWIP&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;VV&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;WW&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border-top: none;"&gt;4-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;AAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need to check drill down on a single date say 2nd Jan = Total Inventory of Qty = 180&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Note this is sample data and will contain data from 1st Jan to 31st Oct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vikas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449786#M434077</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T05:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449787#M434078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are drilling and to where? What is the mean of Max date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449787#M434078</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T05:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449788#M434079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Drill Down is&lt;/P&gt;&lt;P&gt;Dept-WorkCenter-Sub Dept&lt;/P&gt;&lt;P&gt;My Selection is a single date say 2nd Jan&lt;BR /&gt;I should get answer as 180 as my qty total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449788#M434079</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T05:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449789#M434080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Which Chart you are trying this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449789#M434080</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-24T05:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449790#M434081</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;Avg(Aggr(Sum({&amp;lt;Dept = {'Mfg'}&amp;gt;} Qty),Date))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449790#M434081</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T05:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449791#M434082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My aim is &lt;BR /&gt; &lt;BR /&gt;When I drill down to final single date, it should give me sum&lt;/P&gt;&lt;P&gt;All other columns should give me average&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449791#M434082</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T05:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449792#M434083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This doesn't give me answer, Since my dept has multiple options Mfg is only one of them, I have JW, RM as other options&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449792#M434083</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T05:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449793#M434084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple Bar chart and KPI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:54:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449793#M434084</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T05:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449794#M434085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate more clear your requirement, If you select 2nd Jan Navigate to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border: 0px solid black;" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none;" width="64"&gt;Dept&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none;" width="82"&gt;WorkCenter&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none;" width="70"&gt;Sub Dept&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none;" width="64"&gt;Qty&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none;" width="64"&gt;Co. Code&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none;" width="64"&gt;Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border: 0px solid black; border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;PURE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border: 0px solid black; border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;KARAT&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border: 0px solid black; border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;PURE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border: 0px solid black; border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;JW&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;SPRUE&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;ZZ&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Platinum&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border: 0px solid black; border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Mfg&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;FIL&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Gold&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="20" style="border: 0px solid black; border-top: none;"&gt;2-Jan-17&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;RM&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;BAG&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;50&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;YY&lt;/TD&gt;&lt;TD class="xl66" style="border: 0px solid black; border-left: none; border-top: none;"&gt;Silver&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From this, Data it will give simple as&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(TOTAL Qty)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 05:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449794#M434085</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T05:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449795#M434086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #363636; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Avg( Aggr( Sum(Qtyl), Date,Dept,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WorkCenter,[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sub Dept&lt;/SPAN&gt;]&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449795#M434086</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-11-24T06:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449796#M434087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Total Qty) will give me the answer at the single date i.e. 2-Jan-17, But, when at a whole level say all 300 dates included, my data will sum total all numbers and will give me total of all the dates qty,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449796#M434087</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T06:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449797#M434088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;But, when at a whole level say all 300 dates included, my data will sum total all numbers and will give me total of all the dates qty,&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What does you mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449797#M434088</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T06:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449798#M434089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried this but this do not give me correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449798#M434089</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T06:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449799#M434090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; My data has date wise inventory - Date Column&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inventory is available in different department - Dept Column&lt;BR /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Department has Sub department and different Work Center - (Sub Dept) &amp;amp; (WorkCenter) Column&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inventory nos are in Qty Column&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Co. is another department where it is bifurcated&lt;/P&gt;&lt;P&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type of metal is represented in Type Column (Gold, Silver, Platinum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now at a dashboard level&amp;nbsp; it should look like this with Avg(Aggr(Sum())) function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Metal.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184431_Metal.jpg" style="height: 407px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i Drill down to a single date, say 1st Aug, I should get Total(Sum())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449799#M434090</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T06:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449800#M434091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetCurrentField(GroupName) = 'Date', Sum(TOTAL Qty), Sum(Qty))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449800#M434091</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T06:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449801#M434092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does GetCurrentField(GroupName) expression work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449801#M434092</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T06:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449802#M434093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will surely explain you, First check in your app further we can discuss more in detail. &lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentfield.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentfield.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentfiel…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449802#M434093</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T06:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449803#M434094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GetCurrentField Function is not active, Instead i am getting GetCurrentSelection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449803#M434094</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T06:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449804#M434095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you drill to Date and use same expression in Text box then let me know what you are getting, Meantime check vice versa. Don't worry about red wingy line in your expression. Go and continue as it is bug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449804#M434095</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-24T06:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average Inventory Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449805#M434096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its giving me error in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2017 06:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Inventory-Calculation/m-p/1449805#M434096</guid>
      <dc:creator>vikas_nandanwar</dc:creator>
      <dc:date>2017-11-24T06:58:04Z</dc:date>
    </item>
  </channel>
</rss>

