<?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: Set Analysis - need to always get a value for the max month in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-need-to-always-get-a-value-for-the-max-month/m-p/1119913#M19337</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({1&amp;lt;YEAR_MONTH={'$(=MaxString(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;YEAR_MONTH))'},METRIC_NAME={'X'},COMPANY_NAME={'Y'}&amp;gt;}METRIC_QUANTITY)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jul 2016 20:15:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-07-21T20:15:10Z</dc:date>
    <item>
      <title>Set Analysis - need to always get a value for the max month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-need-to-always-get-a-value-for-the-max-month/m-p/1119912#M19336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;YEAR_MONTH={'$(=MaxString(YEAR_MONTH))'},METRIC_NAME={'X'},COMPANY_NAME={'Y'}&amp;gt;}METRIC_QUANTITY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this measure to always be the sum of the value for the most recent month in the data when the conditions X and Y are met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above works except that it changes as date selections change.&amp;nbsp; It needs to remain static.&amp;nbsp; I'm sure that there is some syntax that I'm missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-need-to-always-get-a-value-for-the-max-month/m-p/1119912#M19336</guid>
      <dc:creator />
      <dc:date>2016-07-21T18:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - need to always get a value for the max month</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-need-to-always-get-a-value-for-the-max-month/m-p/1119913#M19337</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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({1&amp;lt;YEAR_MONTH={'$(=MaxString(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;YEAR_MONTH))'},METRIC_NAME={'X'},COMPANY_NAME={'Y'}&amp;gt;}METRIC_QUANTITY)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 20:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-need-to-always-get-a-value-for-the-max-month/m-p/1119913#M19337</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-21T20:15:10Z</dc:date>
    </item>
  </channel>
</rss>

