<?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 Issue with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897131#M1012655</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;The set analysis expression below will not render results for me in my chart. Does anyone see an issue with my syntax? I want to limit the calculation to the current selections based on Test only containing the values of Test1 and Test2. Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum &lt;SPAN style="font-size: 8pt;"&gt;({$,&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Test]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Damage]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/ Sum ({$, &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Test]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total E]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 17:45:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-23T17:45:13Z</dc:date>
    <item>
      <title>Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897131#M1012655</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;The set analysis expression below will not render results for me in my chart. Does anyone see an issue with my syntax? I want to limit the calculation to the current selections based on Test only containing the values of Test1 and Test2. Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum &lt;SPAN style="font-size: 8pt;"&gt;({$,&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Test]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Damage]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/ Sum ({$, &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Test]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Test2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Total E]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897131#M1012655</guid>
      <dc:creator />
      <dc:date>2015-04-23T17:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897132#M1012656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do I see a comma after $?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Sum &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #575757;"&gt;({$&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;lt;[Test] = {"Test1", "Test2"}&amp;gt;}[Damage])/ Sum ({$&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;[Test] = {"Test1", "Test2"}&amp;gt;}[Total E]&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;Sum &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;({$&amp;lt;[Test] = {"Test1", "Test2"}&amp;gt;}[Damage])/ Sum ({$&amp;lt;[Test] = {"Test1", "Test2"}&amp;gt;}[Total E]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 12pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 18:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897132#M1012656</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-23T18:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897133#M1012657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the comma's after the dollar signs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even completely remove the dollar symbols, but leaving them in will not hurt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe a personal preference, but I would use single quotes not double quotes, but this is also not a show stopper. If your value's Test1 and Test2 however contain a double quote, this can also be the cause of a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 19:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897133#M1012657</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2015-04-23T19:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897134#M1012658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Somebody recently pointed out to me that single quotes is a bug and is going to go away in the future versions of the application. Not sure if its true for a single value or expression, but may be we can all get into a habit of using double quotes (I am also used to use single quotes, but changing that habit now) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source: &lt;A href="https://community.qlik.com/qlik-blogpost/4076"&gt;A Primer on Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f5faf0;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit; color: #808080;"&gt;&lt;EM&gt;&lt;STRONG&gt;Sum( {$&amp;lt;Date={&lt;SPAN style="font-size: 18.6666660308838px; font-family: inherit; color: #000000;"&gt;"…"&lt;/SPAN&gt;}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f5faf0;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f5faf0;"&gt;&lt;EM&gt;&lt;STRONG&gt;Do not use single quotes to initiate a search here! Single quotes should denote literals, i.e. explicit field values. (Yes, today single quotes work as a search, but this is a bug that one day will be fixed…)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 19:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/897134#M1012658</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-23T19:24:48Z</dc:date>
    </item>
  </channel>
</rss>

