<?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 inside another set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054016#M353483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more general thing to know about Set Analysis - its condition is calculated only once, before the chart is being calculated, therefore Set Analysis conditions cannot be sensitive to the specific values of the Chart Dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 16:22:45 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2016-01-22T16:22:45Z</dc:date>
    <item>
      <title>Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054009#M353476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, is it possible to have an expression with set analysis, and inside this one another set analysis? I'm triyng to use this expression but it doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;[DateProy] = {'&amp;gt;=$(=max({&amp;lt;A_Date = {&amp;lt;=$(=Date(vEndDate))}&amp;gt;}A_Date))&amp;lt;=$(=Date(vEndDate))'}&amp;gt;}[P_Hours])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 10:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054009#M353476</guid>
      <dc:creator />
      <dc:date>2016-01-22T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054010#M353477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible, may be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=SUM({&amp;lt;[DateProy] = {"&amp;gt;=$(=Date(Max({&amp;lt;A_Date = {'&amp;lt;=$(=Date(vEndDate))'}&amp;gt;} A_Date)))&amp;lt;=$(=Date(vEndDate))"}&amp;gt;}[P_Hours])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 11:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054010#M353477</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-22T11:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054011#M353478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check A-Date and vEndDate formats ,&lt;/P&gt;&lt;P&gt;if possible please share your application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 11:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054011#M353478</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-01-22T11:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054012#M353479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this works, but only if I filter a value in the table's dimension. It seems that the dimension doesn't affect the inner set analysis...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 13:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054012#M353479</guid>
      <dc:creator />
      <dc:date>2016-01-22T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054013#M353480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Missing Quote..try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;=SUM({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;[DateProy]=&lt;/SPAN&gt;,[DateProy] = {'&amp;gt;=$(=max({&amp;lt;A_Date = {'&amp;lt;=$(=Date(vEndDate))'}&amp;gt;} A_Date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: line-through;"&gt;&amp;lt;=$(=Date(vEndDate))'}&amp;gt;}[P_Hours])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Just modifying as Max() return integer&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=SUM({&amp;lt;[DateProy]=,[DateProy] = {'&amp;gt;=$(=&lt;STRONG&gt;date&lt;/STRONG&gt;(max({&amp;lt;A_Date = {'&amp;lt;=$(=Date(vEndDate))'}&amp;gt;} A_Date)),'&lt;STRONG&gt;YourDateFormat&lt;/STRONG&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;=$(=Date(vEndDate))'}&amp;gt;}[P_Hours])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Also as&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/people/sasikanth_Narne"&gt;Sunny k&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;mentioned cross check for format as well&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 13:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054013#M353480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-22T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054014#M353481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Single quotes within single quotes is not going to work either &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;and to get the format right (if it needs to be fixed) the expression will need to be much more complicated for the same reason that we cannot have single quotes within single quotes and to give the format we need single quotes around the format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To save the trouble of specifying the format, I would use Date() function without format in the script for both DateProy and A_Date in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 13:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054014#M353481</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-22T13:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054015#M353482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few general observations, as there seems to be a lot of confusion here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Nested Set Analysis is possible, no problem there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Single quotes should not be used for Search. Currently it works but only by accident. The recommendation from R&amp;amp;D is to alternate double quotes " " with square brackets [ ].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- In order to avoid any date formatting issues, you can replace Simple Search with an Advanced Search. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace this simple search condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;Date={"&amp;gt;=$(=max(AnotherDate))"}&amp;gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this Advanced Search condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;Date={"&lt;STRONG&gt;=Date&lt;/STRONG&gt;&amp;gt;=$(=max(AnotherDate))"}&amp;gt;} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and any formatting issues disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For anyone interested in learning advanced Set Analysis - I teach all these techniques, and many others, at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt;. Coming this year to Milan, Italy, South Africa, and Austin, TX. Come and upgrade your Qlik skills!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 14:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054015#M353482</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-22T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis inside another set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054016#M353483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more general thing to know about Set Analysis - its condition is calculated only once, before the chart is being calculated, therefore Set Analysis conditions cannot be sensitive to the specific values of the Chart Dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-inside-another-set-analysis/m-p/1054016#M353483</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-01-22T16:22:45Z</dc:date>
    </item>
  </channel>
</rss>

