<?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 - Expressions and Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281575#M579229</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;Your expression displays all the years less than and equal to the Maximum Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt; [Reporting Code 1] = {CSE},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Fiscal Year] = {"&amp;lt;=$(=max([Fiscal Year]))"} &amp;gt; } [Amount])&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you have 2008, 2009 and 2010 Years in the list box.&amp;nbsp; Now your expression displays all the three years because max year is 2010 so 2008, 2009 and 2010 are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you select 2009 then your expression displays 2008 and 2009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select 2010, now the max year is 2010 and displays all the years less than 2010.&amp;nbsp; It won't display 2010 alone.&amp;nbsp; Your expression explicitly telling that display all years less than 2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you understand my explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 04:55:22 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2012-02-15T04:55:22Z</dc:date>
    <item>
      <title>Set Analysis - Expressions and Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281574#M579228</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;I have the following QV10 set analysis expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt; [Reporting Code 1] = {CSE},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Fiscal Year] = {"&amp;lt;=$(=max([Fiscal Year]))"} &amp;gt; } [Amount])&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The single dimension of the chart is also [Fiscal Year].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately when I use this expression, and select 2010, all of the years of the above set are displayed in the chart. I would like to select 2010 and see the sum of the amount for all years up to and including the selected year. As a stand alone expression this works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use it in the [Fiscal Year] dimensioned chart I now see 3 columns - for 2008, 2009 and 2010. For some reason the presence of the 3 years in the modified set is becoming visible in the chart even although only one year has been selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this would be mcuh appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Andrew.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 16:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281574#M579228</guid>
      <dc:creator />
      <dc:date>2012-02-14T16:47:18Z</dc:date>
    </item>
    <item>
      <title>Set Analysis - Expressions and Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281575#M579229</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;Your expression displays all the years less than and equal to the Maximum Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt; [Reporting Code 1] = {CSE},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Fiscal Year] = {"&amp;lt;=$(=max([Fiscal Year]))"} &amp;gt; } [Amount])&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you have 2008, 2009 and 2010 Years in the list box.&amp;nbsp; Now your expression displays all the three years because max year is 2010 so 2008, 2009 and 2010 are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose you select 2009 then your expression displays 2008 and 2009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select 2010, now the max year is 2010 and displays all the years less than 2010.&amp;nbsp; It won't display 2010 alone.&amp;nbsp; Your expression explicitly telling that display all years less than 2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you understand my explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 04:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281575#M579229</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-15T04:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Expressions and Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281576#M579230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;I have a similar problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What expression would we need to dispay just the one column (eg 2010), but have the calculation accumulate the Amount from every year up and including 2010?&lt;/P&gt;&lt;P&gt;ie. The result should equal 2008 + 2009 + 2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 01:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281576#M579230</guid>
      <dc:creator />
      <dc:date>2012-07-17T01:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Expressions and Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281577#M579231</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;Use Variable .&lt;STRONG&gt;Max(Year)&lt;/STRONG&gt; &amp;amp;&amp;nbsp; expressions is &lt;STRONG&gt;SUM({&amp;lt;GYEAR={"&amp;lt;=$(=MAX([GYEAR]))"}&amp;gt;} SALES)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls refer my attachment file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 06:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281577#M579231</guid>
      <dc:creator>muniyandi</dc:creator>
      <dc:date>2012-07-17T06:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Expressions and Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281578#M579232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I did not explain my problem very well because it was complicated by other dimensions.&lt;/P&gt;&lt;P&gt;I am actually accumulating values across months in a pivot table.&amp;nbsp; Sometimes multiple months will be visible, but the accumulation must still work.&amp;nbsp; It looks like the image I have attached.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="18535" class="jive-image-thumbnail jive-image" onclick="" alt="Cumulative pivot.jpg" src="/legacyfs/online/18535_Cumulative pivot.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your example no longer works if 2009 and 2010 are both displayed, because it will only display the value for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have solved my problem by calculating an accumulation column in the script as per this post: &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/50551"&gt;http://community.qlik.com/thread/50551&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 06:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expressions-and-Dimensions/m-p/281578#M579232</guid>
      <dc:creator />
      <dc:date>2012-07-17T06:12:14Z</dc:date>
    </item>
  </channel>
</rss>

