<?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 max within set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150288#M28340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a field called financial year that will end up containing many years, however on one particular graph I only want to show the values relating to the most recent 2 years, I'm trying to do this with set analysis like:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Financial_Year={&lt;B&gt;&lt;I&gt;$(max(Financial_Year)),$(max(Financial_Year)-1)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Amount])&lt;/P&gt;&lt;P&gt;It says expression OK but the graph is empty?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2009 21:30:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-07-24T21:30:43Z</dc:date>
    <item>
      <title>max within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150288#M28340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have a field called financial year that will end up containing many years, however on one particular graph I only want to show the values relating to the most recent 2 years, I'm trying to do this with set analysis like:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Financial_Year={&lt;B&gt;&lt;I&gt;$(max(Financial_Year)),$(max(Financial_Year)-1)&lt;/I&gt;&lt;/B&gt;}&amp;gt;} [Amount])&lt;/P&gt;&lt;P&gt;It says expression OK but the graph is empty?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 21:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150288#M28340</guid>
      <dc:creator />
      <dc:date>2009-07-24T21:30:43Z</dc:date>
    </item>
    <item>
      <title>max within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150289#M28341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding an equal sign into your dollar sign expansion:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=sum({&amp;lt;Financial_Year={&lt;STRONG&gt;&lt;I&gt;$(=max(Financial_Year)),$(=max(Financial_Year)-1)&lt;/I&gt;&lt;/STRONG&gt;}&amp;gt;} [Amount]&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 21:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150289#M28341</guid>
      <dc:creator />
      <dc:date>2009-07-24T21:45:02Z</dc:date>
    </item>
    <item>
      <title>max within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150290#M28342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When trying to debug set analysis expressions with dollar sign expansions, I typically make a straight table with only that expression. You'll see the expression itself in the caption, and what got substituted for the dollar sign expansions in the column header. If nothing or something incorrect shows up for the dollar sign expansion, you know that's where the problem is. If I still can't see what's wrong, I may put the expression from the dollar sign expansion into a column of its own, and then play with it until I get it to produce the correct value, and then plug it back in to the main expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2009 01:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/max-within-set-analysis/m-p/150290#M28342</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-07-25T01:53:24Z</dc:date>
    </item>
  </channel>
</rss>

