<?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 Set analysis and Dollar-Sign Expansion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153461#M30485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;adding ' works. Using variable gives right results as well.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks a lot for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2009 23:28:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-10T23:28:18Z</dc:date>
    <item>
      <title>Set analysis and Dollar-Sign Expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153459#M30483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Experts,&lt;/P&gt;&lt;P&gt;I am trying to get the latest month number for current selection using following expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum({$&amp;lt;monthyear={$(=Max(monthyear))}&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;but it returns NULL values.&lt;/P&gt;&lt;P&gt;Then I tested it using a string instead of Dollar-Sign Expansion. it does work&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum({$&amp;lt;monthyear={'Jun-2009'}&amp;gt;} amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The Format of 'monthyear' is MMM-YYYY&lt;/P&gt;&lt;P&gt;Does anyone know what is wrong with 1st expression and how to get it to work.&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 22:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153459#M30483</guid>
      <dc:creator />
      <dc:date>2009-08-10T22:45:20Z</dc:date>
    </item>
    <item>
      <title>Set analysis and Dollar-Sign Expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153460#M30484</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;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;EM&gt;=Sum({$&amp;lt;monthyear={'$(=Max(monthyear))'}&amp;gt;} amount)&lt;/EM&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;note the little ' if you can't see it in the code. Conversely, you could make declare Max(MonthYear) a variable and the set analysis syntax would be less complicated??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 22:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153460#M30484</guid>
      <dc:creator />
      <dc:date>2009-08-10T22:50:31Z</dc:date>
    </item>
    <item>
      <title>Set analysis and Dollar-Sign Expansion</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153461#M30485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;adding ' works. Using variable gives right results as well.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks a lot for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2009 23:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-Dollar-Sign-Expansion/m-p/153461#M30485</guid>
      <dc:creator />
      <dc:date>2009-08-10T23:28:18Z</dc:date>
    </item>
  </channel>
</rss>

