<?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 Help required in Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608188#M224602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do the below set analysis. Can you see if you can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the main expression&lt;/P&gt;&lt;P&gt;=MaxString( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={"*********"}&amp;gt;} EmployeeName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In place of *********, I have to add the below expression.&lt;/P&gt;&lt;P&gt;Max( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={"&amp;lt;=$(vCurrentDate)"}&amp;gt;} Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 15:32:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-19T15:32:15Z</dc:date>
    <item>
      <title>Help required in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608188#M224602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do the below set analysis. Can you see if you can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the main expression&lt;/P&gt;&lt;P&gt;=MaxString( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={"*********"}&amp;gt;} EmployeeName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In place of *********, I have to add the below expression.&lt;/P&gt;&lt;P&gt;Max( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={"&amp;lt;=$(vCurrentDate)"}&amp;gt;} Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 15:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608188#M224602</guid>
      <dc:creator />
      <dc:date>2014-02-19T15:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608189#M224603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable&lt;/P&gt;&lt;P&gt;vVar1 = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;Max( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={"&amp;lt;=$(vCurrentDate)"}&amp;gt;} Date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use&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: 12.800000190734863px;"&gt;=MaxString( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={'$(vVar1)'}&amp;gt;} EmployeeName)&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: 12.800000190734863px;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=MaxString( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={'$(=vVar1)'}&amp;gt;} EmployeeName)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 15:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608189#M224603</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-19T15:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help required in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608190#M224604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't work.&lt;/P&gt;&lt;P&gt;I doubt this is because vCurrentDate is again includes another set expression. Listing here all the expressions.&lt;/P&gt;&lt;P&gt;Is max function inside another max function will work in set anaylsis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;"&gt;Final expression =MaxString( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={'$(vVar1)'}&amp;gt;} EmployeeName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vVar1 = &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max( {&amp;lt; Title_Cat={'PMD'},Source = {'Interactions'},Date={"&amp;lt;=$(vCurrentDate)"}&amp;gt;} Date)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vCurrentDate&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp; max(&amp;nbsp; { 1 &amp;lt; Date = {'&amp;lt;=$(vToday)'} &amp;gt;}Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDate =&amp;nbsp; =Date(Today(),'MM/DD/YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 15:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-required-in-Set-analysis/m-p/608190#M224604</guid>
      <dc:creator />
      <dc:date>2014-02-19T15:46:06Z</dc:date>
    </item>
  </channel>
</rss>

