<?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: Displaying the most recent months data in a KPI in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638923#M47639</link>
    <description>&lt;P&gt;Hi - unfortunately that did not work.&lt;/P&gt;&lt;P&gt;Example - if I select the following months:&lt;/P&gt;&lt;P&gt;Feb 2016 : Quantity Sold 3,157&lt;/P&gt;&lt;P&gt;May 2016 : Quantity Sold 11,379&lt;/P&gt;&lt;P&gt;April 2016 :Quantity Sold 11,609&lt;/P&gt;&lt;P&gt;The most recent month&amp;nbsp; = 11,609&lt;/P&gt;&lt;P&gt;It is displaying zero&lt;/P&gt;&lt;P&gt;thoughts ? Jerry&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 11:33:22 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2019-10-23T11:33:22Z</dc:date>
    <item>
      <title>Displaying the most recent months data in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638714#M47618</link>
      <description>&lt;P&gt;Hi - I have quantity data an I would like to display the most recent month's data value in a KPI - once the Month/Years are selected.&lt;/P&gt;&lt;P&gt;I tried this - no luck:&lt;/P&gt;&lt;P&gt;firstsortedvalue(QuantitySold,-[SalesDate.autoCalendar.YearMonth])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thoughts ? Jerry&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 07:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638714#M47618</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-10-23T07:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying the most recent months data in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638789#M47627</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;[SalesDate.autoCalendar.YearMonth]={"$(=Max([SalesDate.autoCalendar.YearMonth]))"}, [SalesDate.autoCalendar.Year]=, [SalesDate.autoCalendar.Month]=&amp;gt;}QuantitySold)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 08:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638789#M47627</guid>
      <dc:creator>marpet</dc:creator>
      <dc:date>2019-10-23T08:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying the most recent months data in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638923#M47639</link>
      <description>&lt;P&gt;Hi - unfortunately that did not work.&lt;/P&gt;&lt;P&gt;Example - if I select the following months:&lt;/P&gt;&lt;P&gt;Feb 2016 : Quantity Sold 3,157&lt;/P&gt;&lt;P&gt;May 2016 : Quantity Sold 11,379&lt;/P&gt;&lt;P&gt;April 2016 :Quantity Sold 11,609&lt;/P&gt;&lt;P&gt;The most recent month&amp;nbsp; = 11,609&lt;/P&gt;&lt;P&gt;It is displaying zero&lt;/P&gt;&lt;P&gt;thoughts ? Jerry&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 11:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1638923#M47639</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-10-23T11:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying the most recent months data in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1639083#M47647</link>
      <description>&lt;P&gt;Hi again -&lt;/P&gt;&lt;P&gt;I have been experimenting around this the firstsortedvalue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;firstsortedvalue(TOTAL([QuantitySold]),-[SalesDate])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Returns a value of 6&lt;/P&gt;&lt;P&gt;Which in fact is the quantity sold for last day of the month.&lt;/P&gt;&lt;P&gt;I need to show the total for the entire month.&lt;/P&gt;&lt;P&gt;How ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1639083#M47647</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2019-10-23T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying the most recent months data in a KPI</title>
      <link>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1639270#M47659</link>
      <description>&lt;P&gt;I found autocalendar don't work in set analysis and some qlik functions sometimes.&lt;/P&gt;&lt;P&gt;This might help:&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN&gt;SalesDate&lt;/SPAN&gt;={"&amp;gt;=$(=MonthStart(Max(&lt;SPAN&gt;SalesDate&lt;/SPAN&gt;))) &amp;lt;= $(=MonthEnd(Max(&lt;SPAN&gt;SalesDate&lt;/SPAN&gt;)))"}&amp;gt;} &lt;SPAN&gt;SalesDate&lt;/SPAN&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to get current month:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[SalesDate.autoCalendar.MonthsAgo]={0}&amp;gt;} QuantitySold)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum(if ([SalesDate.autoCalendar.MonthsAgo] = 0 , QuantitySold, 0))&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 04:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Displaying-the-most-recent-months-data-in-a-KPI/m-p/1639270#M47659</guid>
      <dc:creator>thi_pham</dc:creator>
      <dc:date>2019-10-24T04:03:53Z</dc:date>
    </item>
  </channel>
</rss>

