<?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: Show last months data. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933789#M651571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here You can notice that the Sales value will be present in the september but the stock value will not be there. thats because the stock value is updated only in the month end while the sales value will be updated daily. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Aug 2015 11:49:30 GMT</pubDate>
    <dc:creator>amithmurali</dc:creator>
    <dc:date>2015-08-30T11:49:30Z</dc:date>
    <item>
      <title>Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933784#M651566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my dashboard, i have to show the inventory values. It is calculated on a monthly basis. we cannot sum up all the months data as it will duplicate. so for example if i want to show the august months data, i have to select august month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the situation. Let us assume that today is sept 1, and the data in the db will be till august only . as i have used the formula " sum({&amp;lt;Year = {$(=max(Year))}, NumMonth = {"$(vMaxNumMonth)"}&amp;gt;} StockValue) ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(where vMaxNumMonth =max({&amp;lt;Year = {"$(vMaxYear)"}&amp;gt;}NumMonth))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The stock values will be updated only in the end of the month. so when the date is 1st september, the stock charts will show no data. but i need to show them the august data. But when they select the august month, it should show august stock value not the july stockvalue.&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 08:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933784#M651566</guid>
      <dc:creator>amithmurali</dc:creator>
      <dc:date>2015-08-30T08:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933785#M651567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like&lt;/P&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: 13.3333330154419px;"&gt; vMaxNumMonth =max({&amp;lt;Year = {"$(vMaxYear)"}&lt;STRONG&gt;, StockValue = {"*"}&lt;/STRONG&gt; &amp;gt;}NumMonth)&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: 13.3333330154419px;"&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: 13.3333330154419px;"&gt;I don't know your data model, so this may work or maybe not. Basic idea is to find max(NumMonth) where there are values for StockValue.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 10:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933785#M651567</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-30T10:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933786#M651568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can use this as your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue({&amp;lt;StockValue = {"&amp;lt;&amp;gt;0"}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year = {$(=max(Year))}&lt;/SPAN&gt;&amp;gt;}StockValue, -NumMonth) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt;=FirstSortedValue({&amp;lt;StockValue = {"&amp;lt;&amp;gt;0"}&amp;gt;}StockValue, -DateField) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 11:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933786#M651568</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-30T11:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933787#M651569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The stock value will be updated only in the last day of the month. so when it is September it should show aug stock value. When the maximum month selected doesnt contain any value then it should show the previous months value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 11:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933787#M651569</guid>
      <dc:creator>amithmurali</dc:creator>
      <dc:date>2015-08-30T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933788#M651570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amith,&lt;/P&gt;&lt;P&gt;Please attach the sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 11:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933788#M651570</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-30T11:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933789#M651571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here You can notice that the Sales value will be present in the september but the stock value will not be there. thats because the stock value is updated only in the month end while the sales value will be updated daily. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 11:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933789#M651571</guid>
      <dc:creator>amithmurali</dc:creator>
      <dc:date>2015-08-30T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933790#M651572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that's a different setting than you initially described with your set analysis expression, here you want to group Stock and Sales values per month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should show you the stock value even in the latest month (assuming a chart with dimension Month and ordered Month desc):&lt;/P&gt;&lt;P&gt;=if(count(StockValue),sum(StockValue), above(sum(StockValue) ))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2015 12:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933790#M651572</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-30T12:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show last months data.</title>
      <link>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933791#M651573</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;It seems that you need to have a like-for-like comparison. This can be done via set analysis using a date dimension as a filter, e.g. {&amp;lt;Date={"$(LFLPeriod)"}&amp;gt;} where LFLPeriod="&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;gt;=Date0&amp;lt;=Date1".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it's clear that you just need to put real dates instead of Date0 and Date1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Maxim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 01:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-last-months-data/m-p/933791#M651573</guid>
      <dc:creator>maksim_senin</dc:creator>
      <dc:date>2015-08-31T01:44:13Z</dc:date>
    </item>
  </channel>
</rss>

