<?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: inventory turns in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/inventory-turns/m-p/1085355#M1749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before may not work as it works on the front end. This goes wrong if a selection is applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you create a new table with the averages calculated and then link it to the main table based on the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 06:24:16 GMT</pubDate>
    <dc:creator>NareshGuntur</dc:creator>
    <dc:date>2016-01-14T06:24:16Z</dc:date>
    <item>
      <title>inventory turns</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/inventory-turns/m-p/1085354#M1748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am kind of stuck with a requirement. Can anybody help me with this please&lt;/P&gt;&lt;P&gt;i have my inventory and sales across the year by week. i need to calculate the inventory turns. my calculations needs to be&lt;/P&gt;&lt;P&gt;((current week inventory+last week inventory)/2)/sales for current week. i have tried the previous(inventory) function but did not help. is there any other way that i can achieve this?. i was able to calculate the turns in a pivot table with this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeAvg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Before&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[inventory]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,2 ))/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;).&lt;SPAN style="font-size: 10pt;"&gt; But not able to project the same in a bar or line chart. i know that before function doesnt work with charts other than pivot chart. So can anybody help me with this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/inventory-turns/m-p/1085354#M1748</guid>
      <dc:creator />
      <dc:date>2016-01-13T22:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: inventory turns</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/inventory-turns/m-p/1085355#M1749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before may not work as it works on the front end. This goes wrong if a selection is applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you create a new table with the averages calculated and then link it to the main table based on the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 06:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/inventory-turns/m-p/1085355#M1749</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2016-01-14T06:24:16Z</dc:date>
    </item>
  </channel>
</rss>

