<?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 - second selection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379838#M141676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just want to change the selection of TRANSYEAR with your set expression, and not affect other selections (ie in COUNTRYCODEFIELD, or any other field) why not use:&lt;/P&gt;&lt;P&gt;=-SUM( {$&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}&amp;gt;} $(varGrossSales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is change the starting '1' to '$'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2012 09:21:28 GMT</pubDate>
    <dc:creator>gandalfgray</dc:creator>
    <dc:date>2012-08-22T09:21:28Z</dc:date>
    <item>
      <title>Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379834#M141672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=-SUM( {1&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}&amp;gt;} $(varGrossSales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns me the full set of records of variable Gross Sales, with the modifier selected year -1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to take into consideration the country code. If I select the country, the result set should also be changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to insert a new modifier: consider in the selection the year-1 &lt;SPAN style="color: #333333; text-decoration: underline;"&gt;and e.g.the country code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;I have tried this, but this does not work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=-SUM( {1&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}&amp;gt;*countrycode} $(varGrossSales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Thank you in advance. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;Regards Christoph&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 07:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379834#M141672</guid>
      <dc:creator />
      <dc:date>2012-08-22T07:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379835#M141673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=-SUM( {1&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}, COUNTRYCODEFIELD = {$(=Only(COUNTRYCODEFIELD))} &amp;gt;} $(varGrossSales))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 08:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379835#M141673</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-22T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379836#M141674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;that is what I need in principle, but something is not working in this code. &lt;/P&gt;&lt;P&gt;Are you sure, it is possible with 2 selections?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards CH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 08:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379836#M141674</guid>
      <dc:creator />
      <dc:date>2012-08-22T08:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379837#M141675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 selections in one field (COUNTRYCODEFIELD)? Then only does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=-SUM( {1&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}, COUNTRYCODEFIELD = p() &amp;gt;} $(varGrossSales))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't help you, could you upload a small sample file together with your expected outcome?&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 08:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379837#M141675</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-22T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379838#M141676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just want to change the selection of TRANSYEAR with your set expression, and not affect other selections (ie in COUNTRYCODEFIELD, or any other field) why not use:&lt;/P&gt;&lt;P&gt;=-SUM( {$&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}&amp;gt;} $(varGrossSales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is change the starting '1' to '$'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 09:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379838#M141676</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2012-08-22T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379839#M141677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;you have the yellow expression, this reacts to every filter selection. OK. This is the normal case without set analysis. &lt;/P&gt;&lt;P&gt;The grey expression is the set analysis, this should display only the full year of the selected transaction year. &lt;/P&gt;&lt;P&gt;And now it should also include the selection when filtering the country code. &lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance. &lt;/P&gt;&lt;P&gt;Regards CH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 10:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379839#M141677</guid>
      <dc:creator />
      <dc:date>2012-08-22T10:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379840#M141678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GandalfGrey, &lt;/P&gt;&lt;P&gt;thank you, but this is not useful for me, the setanalysis expression should give me only the full year. With the change to $, I will get the complete selection. &lt;/P&gt;&lt;P&gt;Regards CH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 10:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379840#M141678</guid>
      <dc:creator />
      <dc:date>2012-08-22T10:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379841#M141679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hasenclc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at your sample app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The yellow expression is not without set expression, you have {$&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}&amp;gt;} there selecting previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as far as i can see it displays the full previous year (2010 if you selected 2011)&lt;/P&gt;&lt;P&gt;And when you select a country (DE for example), the yellow expression gives you the sales for 2010 for the selected country.&lt;/P&gt;&lt;P&gt;Isn't that what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The grey expression does not follow your country selection since you have 1 before the set &amp;lt;&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it looks like the yellow expr gives you what you want &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards GG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 11:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379841#M141679</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2012-08-22T11:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379842#M141680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be helpful if you could add what you expect to see when doing selections in fields (specifying both the selections and the expected outcome).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the expression I suggested above&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=-SUM( {1&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}, %COUNTRYID=p() &amp;gt;} $(varGrossSales))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then this should regard your selections in Country ID and TRANSYEAR (from the multi box), but if you select in any other field, like Day, Account or Division, this will not affect the outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Maybe you need to add the year restriction also to the p() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=-SUM( {1&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}, %COUNTRYID=p({&amp;lt;TRANSYEAR={$(=Only(TRANSYEAR)-1)}&amp;gt;}) &amp;gt;} $(varGrossSales))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 11:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379842#M141680</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-22T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379843#M141681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GandalfGrey, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometimes I am confused &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;, I must admit, but not in this case. &lt;/P&gt;&lt;P&gt;Ok, the yellow expression has a set analysis, but for my point of view, the result is the same as without the set analysis. And this is not what I want. &lt;/P&gt;&lt;P&gt;Perhaps I have to explain a little bit better. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select a year, then I get a result for the yellow and the grey one. Great. &lt;/P&gt;&lt;P&gt;But my goal is, if I select for example a day, the grey one should remain the same, because it should display the full year (for comparison reasons)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to select a specific country. The grey one doesn't react, but for my goal, this should now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, you are not confused now. &lt;BR /&gt;Regards CH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 11:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379843#M141681</guid>
      <dc:creator />
      <dc:date>2012-08-22T11:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379844#M141682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, yes you are right. We are very close tho the solution. &lt;/P&gt;&lt;P&gt;The suggested expression works to 90%, but somewhere there must be an error, because of the red underline (perhaps with the brackets. ) and a missing value for a customer&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20484" class="jive-image-thumbnail jive-image" onclick="" alt="set.png" src="https://community.qlik.com/legacyfs/online/20484_set.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20492" class="jive-image" alt="set2.png" src="https://community.qlik.com/legacyfs/online/20492_set2.png" /&gt;&lt;/P&gt;&lt;P&gt;I have checked different combinations in the formula, but I didn't get it. I am sorry, but I am new to this. &lt;/P&gt;&lt;P&gt;Do you have an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 11:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379844#M141682</guid>
      <dc:creator />
      <dc:date>2012-08-22T11:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379845#M141683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the red underline is a bug in the syntax checker (with the empty p() function, you could use the equivalent p(%COUNTRYID) to get rid of the red underline).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I updated the expression to include the restriction in TRANSYEAR also in the p() function, see above. This should resolve the missing value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 12:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379845#M141683</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-22T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379846#M141684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is more than one way to do it but&lt;/P&gt;&lt;P&gt;what I normally prefer to do is stuff like:&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;dim1={whatever}, dim2=, dim3=&amp;gt;}&amp;nbsp; amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is I use the current selection, but sets dim1 to another value of my choice, and unsets any choices in dim2 and dim3&lt;/P&gt;&lt;ADDRESS&gt;(You often need to use this technique when dealing with year, month, date etc which depends on eachother)&lt;BR /&gt;&lt;/ADDRESS&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 12:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379846#M141684</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2012-08-22T12:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379847#M141685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's it. A bug is also possible, but I get it with your suggestion. &lt;/P&gt;&lt;P&gt;The missing value is existing, but I could imagine, it is a problem of data and not relevant in this case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help, I have learnt a lot. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;CH&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;swuehl schrieb:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the red underline is a bug in the syntax checker (with the empty p() function, you could use the equivalent p(%COUNTRYID) to get rid of the red underline).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I updated the expression to include the restriction in TRANSYEAR also in the p() function, see above. This should resolve the missing value.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 12:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379847#M141685</guid>
      <dc:creator />
      <dc:date>2012-08-22T12:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - second selection?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379848#M141686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GandalfGrey, &lt;/P&gt;&lt;P&gt;also thank you very much&amp;nbsp; for your help, I will cover your proposal for the next time. &lt;/P&gt;&lt;P&gt;CH&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;GandalfGray schrieb:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is more than one way to do it but&lt;/P&gt;&lt;P&gt;what I normally prefer to do is stuff like:&lt;/P&gt;&lt;P&gt;Sum( {$&amp;lt;dim1={whatever}, dim2=, dim3=&amp;gt;}&amp;nbsp; amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is I use the current selection, but sets dim1 to another value of my choice, and unsets any choices in dim2 and dim3&lt;/P&gt;&lt;ADDRESS&gt;(You often need to use this technique when dealing with year, month, date etc which depends on eachother)&lt;BR /&gt;&lt;/ADDRESS&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 12:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-second-selection/m-p/379848#M141686</guid>
      <dc:creator />
      <dc:date>2012-08-22T12:23:11Z</dc:date>
    </item>
  </channel>
</rss>

