<?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 Challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195738#M56124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roland your response was much appreciated. So this is great and something I didn't know you could do (embedding the ALL (1) set variable within another. Good news is that in a simple text box this works perfectly, bad news is that in a Chart where we want to display the Quarter with the output (26) doesn't work (see below). We would agree it's because the ALL function {1} you added to my original expression will ONLY take the latest Quarter which is FY2010 Q4. So when try and display this in a chart over time only the value for FY2010 Q4 displays.&lt;/P&gt;&lt;P&gt;So visually, looking at my attached example, the text box below works when you plug in your updated expression but the graph doesn't. I'm HOPING there is some way to tweak the expression so I can get bars of value 26 in the red arrows ...&lt;/P&gt;&lt;P&gt;You have any other ideas? Even if not again I really appreciate the feedback. - DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1830.1.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1830.1.bmp" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Nov 2010 21:25:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-19T21:25:41Z</dc:date>
    <item>
      <title>Set Analysis Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195736#M56122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;Forum - I couldn't think of a better way to title this subject other than a challenge. The easiest way to explain my challenge is to show you a snippet from my expression:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;STRONG&gt;=only({$&amp;lt;[Quarter] = {'$(=maxstring([Quarter]))'},[MeasureA] = {'A'}&amp;gt;} [ValueA])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;This returns a single value, which is fine, but the challenge is that I need this value to not change for each [Quarter]. So for example when no [Quarter] are selected it returns 26 (2010 Q4), but when (2010 Q3) is selected or displayed the value changes because the function maxstring changes to (2010 Q3). I can't simply add [Quarter]= to my set analysis because I'm already finding the latest [Quarter] using the function. It's like a reverse negative if that makes sense.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;Any idea's on how to remedy? My only thought is if I could nest a set expression WITHIN a set expression. In sudo code it would be "Find the maximum quarter and retrurn the value ignoring the current quarter selections".&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 2;"&gt;I will attach an example with illustrates my problem. Any ideas would be appreciated. Until than the only way I can think of getting around this is hardcoding or using hardcoded variables which I don't want to do.&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 2;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 2;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-outline-level: 2;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 19:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195736#M56122</guid>
      <dc:creator />
      <dc:date>2010-11-19T19:04:14Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195737#M56123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if I understand you right, alter the expression in your textbox this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=only({$&amp;lt;[Quarter] = {'$(=maxstring( &lt;B&gt;{1}&lt;/B&gt; [Quarter]))'},[MeasureA] = {'A'}&amp;gt;} [ValueA])&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 19:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195737#M56123</guid>
      <dc:creator />
      <dc:date>2010-11-19T19:53:32Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195738#M56124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roland your response was much appreciated. So this is great and something I didn't know you could do (embedding the ALL (1) set variable within another. Good news is that in a simple text box this works perfectly, bad news is that in a Chart where we want to display the Quarter with the output (26) doesn't work (see below). We would agree it's because the ALL function {1} you added to my original expression will ONLY take the latest Quarter which is FY2010 Q4. So when try and display this in a chart over time only the value for FY2010 Q4 displays.&lt;/P&gt;&lt;P&gt;So visually, looking at my attached example, the text box below works when you plug in your updated expression but the graph doesn't. I'm HOPING there is some way to tweak the expression so I can get bars of value 26 in the red arrows ...&lt;/P&gt;&lt;P&gt;You have any other ideas? Even if not again I really appreciate the feedback. - DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1830.1.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1830.1.bmp" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 21:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195738#M56124</guid>
      <dc:creator />
      <dc:date>2010-11-19T21:25:41Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195739#M56125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding "total" may give you what you want (it tells it to ignore the dimension value):&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;only({$&amp;lt;[Quarter] = {'$(=maxstring( {1} [Quarter]))'},[MeasureA] = {'A'}&amp;gt;} &lt;STRONG&gt;total&lt;/STRONG&gt; [ValueA])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 22:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195739#M56125</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-19T22:10:15Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195740#M56126</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;if you want to use it in your chart, you can use the "TOTAL" similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;pre&amp;gt;=only({$&amp;lt;[Quarter] = {'$(=maxstring( &lt;B&gt;{1}&lt;/B&gt; [Quarter]))'},[MeasureA] = {'A'}&amp;gt;} &lt;B&gt;TOTAL&lt;/B&gt; [ValueA])&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;This should work in your chart. Look at my attachment. &lt;BR /&gt;RR&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 22:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195740#M56126</guid>
      <dc:creator />
      <dc:date>2010-11-19T22:17:04Z</dc:date>
    </item>
    <item>
      <title>Set Analysis Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195741#M56127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roland &amp;amp; John,&lt;/P&gt;&lt;P&gt;Spot on! Yes the TOTAL qualifier works like a charm. We're good to go. Again I appreciate the time you took to help, I learned something new and accomplished something at the same time. Take care.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 22:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Challenge/m-p/195741#M56127</guid>
      <dc:creator />
      <dc:date>2010-11-19T22:39:39Z</dc:date>
    </item>
  </channel>
</rss>

