<?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: Last Inventory Values Date Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924600#M968142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i got en additional problem, before i was using 2 Dimension, first month-week and a second to split the bar into material groups (Raw, Semi, Finish Goods). Now this split seems not to work anylonger, tried also with differnd dimension, is always showing the same one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your support &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 14:23:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-23T14:23:45Z</dc:date>
    <item>
      <title>Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924595#M968137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Clickers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im currently struggling a bit to show the correct values in a bar chart. The Chart is actaully showing the stock history, which were runing&amp;nbsp; correct, as long we processed the stock update just once a month. Since September we have started as a trial to update the figures once a week and store this value on the database. Befor it was quite easy as i could just use the sum(), now i tried to get the last figures of a period by using maxstring() function, but this function is just showing the overall last value and is therefore not showing the history anylonger. Perhaps i did it wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample how the stock values gets accummulated for september&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="99821" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99821_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stockupdate Files (just a total)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="99822" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/99822_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should i modify the expression&lt;/P&gt;&lt;P&gt;sum(#InventoryOnHand_EUR)&lt;/P&gt;&lt;P&gt;so that i get just the last value of a specific Period (Jul-2015, Aug-2015)? The Barchart is just using Month-Year as Dimention (later also Week-Year) and the sum of the inventory value as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me out on this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924595#M968137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T13:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Last Value Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924596#M968138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FirstSortedValue(), something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( [Value X], -Date )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: If you need to aggregate the Value X field values, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( aggr( Sum([Value X]), Date), -Date ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924596#M968138</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-23T13:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924597#M968139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did enter the expression, almost done &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Now just september is gone with the actual values from 22.09.15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( aggr( Sum([#InventoryOnHand_EUR]), Date), -Date ) &lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/99826_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum()&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="99825" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/99825_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924597#M968139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T13:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924598#M968140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for month-year just the september isnt displayed, it could work, not sure because i have just one inventory record for Jul and Aug-215&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did check also if i use week-year as dimension, there is no result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the qvd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924598#M968140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T13:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924599#M968141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We need to look at the records where there is an Inventory entry (your calendar dates for september show max dates where there are no records, this will lead to no Inventory value returned):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue({&amp;lt;%Warehouse= {"*"}&amp;gt;} aggr(Sum([#InventoryOnHand_EUR]), Date), -Date) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924599#M968141</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-23T14:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924600#M968142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i got en additional problem, before i was using 2 Dimension, first month-week and a second to split the bar into material groups (Raw, Semi, Finish Goods). Now this split seems not to work anylonger, tried also with differnd dimension, is always showing the same one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your support &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924600#M968142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T14:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924601#M968143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might need to add the second dimension also the the dimensions within FirstSortedValue (assuming %Company as second dimension here):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( {&amp;lt;%Warehouse= {"*"}&amp;gt;} aggr(Sum([#InventoryOnHand_EUR]), %Company, Date), aggr(-Date,%Company, Date) ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924601#M968143</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-23T14:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924602#M968144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; almost perfect, just need the bars stacked ... Is there a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course thansk again for your great support &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924602#M968144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924603#M968145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With two dimensions and one expression, have you tried the stacked bars option in style tab of chart properties?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 14:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924603#M968145</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-09-23T14:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924604#M968146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect it works, had just a wrong entry in the dimension &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks, got the report as wished &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 15:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924604#M968146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-23T15:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Last Inventory Values Date Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924605#M968149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just got an error on my chart &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And really dont know how to solve this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select a item which currently has stock zero, the whole month will not be displayed, as there is no value. The problem is that we do not store items in the database with stock zero, thats mean no stock, no record. As conclusion the firstsorted value, will not display the month september...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help on this, any idea how to manage?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 14:04:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Inventory-Values-Date-Chart/m-p/924605#M968149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T14:04:24Z</dc:date>
    </item>
  </channel>
</rss>

