<?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 Problem with set analysis inside set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160959#M378489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;I want to build an expression that sums all my top 10 Values that are from Sales &lt;SPAN style="font-size: 13.3333px;"&gt; in a text box&lt;/SPAN&gt; and i'm having a problem by having the symbol " inside another ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=&lt;BR /&gt; &lt;BR /&gt; sum({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ValueType={'Sales'}&lt;BR /&gt; ,YearMonth = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth &lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&lt;BR /&gt; ,Year={$(=max(Year))}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; $(v_Value))&lt;BR /&gt; &lt;BR /&gt; &amp;gt;=$(=max(aggr(&lt;BR /&gt; &lt;BR /&gt; sum({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ValueType={'Sales'}&lt;BR /&gt; ,&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth &lt;/SPAN&gt; = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth&lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&lt;BR /&gt; ,Year={$(=max(Year))}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; $(v_Value))&lt;BR /&gt; &lt;BR /&gt; ,Client),10))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&lt;BR /&gt;%ValueType={'Sales'}&lt;BR /&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;,&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth &lt;/SPAN&gt; = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth&lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&lt;BR /&gt;,Year={$(=max(Year))}&lt;/SPAN&gt;&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(v_Value)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Other ideas are accepted... I just need to create a total to the top 10 on a text box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;If you can help please help me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2016 16:34:51 GMT</pubDate>
    <dc:creator>slribeiro</dc:creator>
    <dc:date>2016-07-14T16:34:51Z</dc:date>
    <item>
      <title>Problem with set analysis inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160959#M378489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings.&lt;/P&gt;&lt;P&gt;I want to build an expression that sums all my top 10 Values that are from Sales &lt;SPAN style="font-size: 13.3333px;"&gt; in a text box&lt;/SPAN&gt; and i'm having a problem by having the symbol " inside another ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"=&lt;BR /&gt; &lt;BR /&gt; sum({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ValueType={'Sales'}&lt;BR /&gt; ,YearMonth = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth &lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&lt;BR /&gt; ,Year={$(=max(Year))}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; $(v_Value))&lt;BR /&gt; &lt;BR /&gt; &amp;gt;=$(=max(aggr(&lt;BR /&gt; &lt;BR /&gt; sum({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ValueType={'Sales'}&lt;BR /&gt; ,&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth &lt;/SPAN&gt; = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth&lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&lt;BR /&gt; ,Year={$(=max(Year))}&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; $(v_Value))&lt;BR /&gt; &lt;BR /&gt; ,Client),10))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&lt;BR /&gt;%ValueType={'Sales'}&lt;BR /&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;,&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth &lt;/SPAN&gt; = {"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;YearMonth&lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"}&lt;BR /&gt;,Year={$(=max(Year))}&lt;/SPAN&gt;&lt;BR /&gt; &amp;gt;}&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(v_Value)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Other ideas are accepted... I just need to create a total to the top 10 on a text box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;If you can help please help me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160959#M378489</guid>
      <dc:creator>slribeiro</dc:creator>
      <dc:date>2016-07-14T16:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with set analysis inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160960#M378490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might be able to replace the inner pair of double quotes with single quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;Client&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;"=&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ValueType={'Sales'}&lt;BR /&gt;,YearMonth = {'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #800000;"&gt;YearMonth &lt;/SPAN&gt;))'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;}&lt;BR /&gt;,Year={$(=max(Year))}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;$(v_Value))&lt;BR /&gt;&lt;BR /&gt;&amp;gt;=$(=max(aggr(&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %ValueType={'Sales'}&lt;BR /&gt;,&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;YearMonth &lt;/SPAN&gt;= {'&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;$(=max(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #800000;"&gt;YearMonth&lt;/SPAN&gt;))'&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;}&lt;BR /&gt;,Year={$(=max(Year))}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;$(v_Value))&lt;BR /&gt;&lt;BR /&gt;,Client),10))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;}&lt;BR /&gt;%ValueType={'Sales'}&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; color: maroon;"&gt;,&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;YearMonth &lt;/SPAN&gt;= {"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 9pt; color: gray;"&gt;$(=max(&lt;SPAN style="font-weight: inherit; font-style: inherit; color: #800000;"&gt;YearMonth&lt;/SPAN&gt;))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 9pt; color: maroon;"&gt;"}&lt;BR /&gt;,Year={$(=max(Year))}&lt;/SPAN&gt;&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 9pt; font-family: 'Courier New'; color: gray;"&gt;$(v_Value)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160960#M378490</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-14T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with set analysis inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160961#M378491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Stupid me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160961#M378491</guid>
      <dc:creator>slribeiro</dc:creator>
      <dc:date>2016-07-14T16:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with set analysis inside set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160962#M378492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that's not stupid at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to Henric Cronstroem, the single and double quotes should be handled differently in set modifiers as they are actually. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually use double quotes for advanced searches and single quotes for literals, but in cases like yours, it's good that Qlik actually doesn't make a functional difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis-inside-set-analysis/m-p/1160962#M378492</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-14T16:56:29Z</dc:date>
    </item>
  </channel>
</rss>

