<?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 selective dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157279#M32824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;Thanks but i don't think this works. I tried it as well and it just yielded zero all the time.&lt;/P&gt;&lt;P&gt;Isn't that just saying from current selection, exclude year and month unselected? I just need it to only consider month and year and disregard any other selections made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2009 05:30:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-19T05:30:00Z</dc:date>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157277#M32822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On some expressions, i would want to only consider certain dimensions and disregard the rest.&lt;/P&gt;&lt;P&gt;For example i have 5 dimensions (Dim1,Dim2,Dim3,Year,Month). I only want to consider ONLY Year and Month. What i've done is:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Dim1=,Dim2=,Dim3=&amp;gt; Sales}&lt;/P&gt;&lt;P&gt;This is doable if there's only these few dimensions. But when you have a lot then it becomes unmanageable. I was thinking there must be a way in set analysis to say return everything, then on the set modifier you only pick the dimensions you want considered. Something like this but obviously does not work:&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Year=Year,Month=Month&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 02:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157277#M32822</guid>
      <dc:creator />
      <dc:date>2009-11-19T02:23:40Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157278#M32823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like 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;Sum( {-&amp;lt;Year=,Month=&amp;gt;} Sales )&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It should select everything that involves year and month.&lt;/P&gt;&lt;P&gt;Found it in the help under Set Analysis and then the Set Operator examples (bottom one).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 03:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157278#M32823</guid>
      <dc:creator />
      <dc:date>2009-11-19T03:29:39Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157279#M32824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;Thanks but i don't think this works. I tried it as well and it just yielded zero all the time.&lt;/P&gt;&lt;P&gt;Isn't that just saying from current selection, exclude year and month unselected? I just need it to only consider month and year and disregard any other selections made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 05:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157279#M32824</guid>
      <dc:creator />
      <dc:date>2009-11-19T05:30:00Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157280#M32825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right ...&lt;/P&gt;&lt;P&gt;A difficult problem to solve.&lt;/P&gt;&lt;P&gt;I will have to think about this more. Hopefully somebody else can give you a solution soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 06:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157280#M32825</guid>
      <dc:creator />
      <dc:date>2009-11-19T06:02:32Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157281#M32826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there's an easy way that I'm not remembering, but here's a hard way that would probably work (untested) (edited to add distinct):&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum({1&amp;lt;Year ={'$(=concat(distinct Year ,chr(39)&amp;amp;','&amp;amp;chr(39)))'}&lt;BR /&gt; ,Month={'$(=concat(distinct Month,chr(39)&amp;amp;','&amp;amp;chr(39)))'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 06:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157281#M32826</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-11-19T06:03:15Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157282#M32827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, so you're selecting everything where year is in all possible years and the same for month, without having to name them hardcoded ... nice.&lt;/P&gt;&lt;P&gt;Say Year can be 2007, 2008 and 2009, this translates to&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;Year ={'2007','2008',2009'}, ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 06:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157282#M32827</guid>
      <dc:creator />
      <dc:date>2009-11-19T06:15:21Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157283#M32828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, That seems to do it. Hopefully like you said there's a more simpler way for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 02:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157283#M32828</guid>
      <dc:creator />
      <dc:date>2009-11-20T02:28:52Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157284#M32829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone found an easier way to do this? I'm having a similar problem, only I need to take 15 ~ 20 dimensions into consideration, which makes this solution a lot less practical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 14:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157284#M32829</guid>
      <dc:creator />
      <dc:date>2010-03-12T14:51:21Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157285#M32830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, after looking arround for this for some time I got it:&lt;/P&gt;&lt;P&gt;=sum(&lt;BR /&gt; {1&amp;lt; // Disregards all selections with 1&lt;BR /&gt; Year=P(Year), // Using element function P() to select the Possible values for Year (this will work with Null(), 1 and many values selected in the field)&lt;BR /&gt; Quarter=P(Quarter), // etc...&lt;BR /&gt; Month=P(Month)&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; Amount // Whatever you wanna measure&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 10:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157285#M32830</guid>
      <dc:creator />
      <dc:date>2010-06-15T10:16:35Z</dc:date>
    </item>
    <item>
      <title>set analysis selective dimension</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157286#M32831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, THAT'S the way to do it. Only works in 9.0 as I recall, but I suspect most people are on 9.0 by now. (We're not. &lt;IMG alt="Sad" src="http://community.qlik.com/emoticons/emotion-6.gif" /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 19:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-selective-dimension/m-p/157286#M32831</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-15T19:05:01Z</dc:date>
    </item>
  </channel>
</rss>

