<?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 not pulling desired field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371807#M515793</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating another field like 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;Month(ReportDate) as Month,&lt;/STRONG&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;STRONG&gt;Num(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Month(ReportDate)) as &lt;SPAN style="color: #ff0000;"&gt;MonthNum&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now try this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;Year = {$(=Max(Year))}, &lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthNum &lt;/STRONG&gt;= {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthNum&lt;/STRONG&gt;))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} PtileBeg)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2017 15:42:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-06-16T15:42:55Z</dc:date>
    <item>
      <title>Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371795#M515781</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;I am currently using the following expression to pull a 'Rate' for an entire year regardless of selections and it is working: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUM_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEN_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;. What I am wanting to do now is assign a 'Star' value based on where that rate falls on the threshold table (between PtileBeg and PtileEnd). However, I need the formula to point to the max Year and Month's thresholds as they vary each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying to use but it isn't working:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUM_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEN_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PtileBeg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUM_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEN_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PtileEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Star&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371795#M515781</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-14T16:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371796#M515782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;Year, Month&amp;gt;}NUM_STATUS)/Sum({&amp;lt;Year, Month&amp;gt;}DEN_STATUS) &amp;gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;Year = {&amp;lt;$(=Max(Year))&amp;gt;}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&amp;gt;} PtileBeg)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Sum({&amp;lt;Year, Month&amp;gt;}NUM_STATUS)/Sum({&amp;lt;Year, Month&amp;gt;}DEN_STATUS) &amp;lt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Only({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;Year = {&amp;lt;$(=Max(Year))&amp;gt;}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&amp;gt;} &lt;/STRONG&gt;PtileEnd),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Only({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;Year = {&amp;lt;$(=Max(Year))&amp;gt;}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&amp;gt;} &lt;/STRONG&gt;Star))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371796#M515782</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-14T16:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371797#M515783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but I am getting errors and am not sure what may be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/166904_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371797#M515783</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-14T16:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371798#M515784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if this is helpful but it might help you get rid of some of the complexity in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/74633" title="https://community.qlikview.com/thread/74633"&gt;vlookup function in QlikView | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371798#M515784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-14T16:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371799#M515785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, try this&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;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;If(Sum({&amp;lt;Year, Month&amp;gt;}NUM_STATUS)/Sum({&amp;lt;Year, Month&amp;gt;}DEN_STATUS) &amp;gt;=&lt;/STRONG&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;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Only({&amp;lt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Year = {$(=Max(Year))}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} PtileBeg)&lt;/STRONG&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;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Year, Month&amp;gt;}NUM_STATUS)/Sum({&amp;lt;Year, Month&amp;gt;}DEN_STATUS) &amp;lt;=&lt;/STRONG&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;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Only({&amp;lt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Year = {$(=Max(Year))}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} &lt;/STRONG&gt;&lt;/SPAN&gt;PtileEnd),&lt;/STRONG&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;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Only({&amp;lt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Year = {$(=Max(Year))}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} &lt;/STRONG&gt;&lt;/SPAN&gt;Star))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371799#M515785</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-14T16:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371800#M515786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping this would work but it didn't. I think the issue is because of trying to point to the max month/year Ptile. When I just try to show that value it isn't working either. For example, I'm putting this in a text box just to see the value and am getting an error: &lt;SPAN style="font-family: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;Only({&amp;lt;&lt;SPAN style="font-family: inherit; font-size: 13.33px; font-style: inherit;"&gt;&lt;STRONG&gt;Year = {$(=Max(Year))}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} PtileBeg)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371800#M515786</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-16T15:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371801#M515787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What error message do you see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371801#M515787</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-16T15:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371802#M515788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually it's just null '-', not an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371802#M515788</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-16T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371803#M515789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;Year = {$(=Max(Year))}, Month = {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}Month))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} PtileBeg)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371803#M515789</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-16T15:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371804#M515790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same thing &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; I also tried this and not getting any result: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=Max(Month))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} PtileBeg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371804#M515790</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-16T15:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371805#M515791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you create Month in your script?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371805#M515791</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-16T15:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371806#M515792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month(ReportDate) as Month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371806#M515792</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-16T15:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371807#M515793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating another field like 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;Month(ReportDate) as Month,&lt;/STRONG&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;STRONG&gt;Num(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Month(ReportDate)) as &lt;SPAN style="color: #ff0000;"&gt;MonthNum&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now try this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.33px; font-family: inherit;"&gt;Year = {$(=Max(Year))}, &lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthNum &lt;/STRONG&gt;= {"$(=Max({&amp;lt;Year = {$(=Max(Year))}&amp;gt;}&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthNum&lt;/STRONG&gt;))"}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} PtileBeg)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371807#M515793</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-16T15:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371808#M515794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I was just trying that. It pulls the value now, but it is pulling based on the month selected. I am needing it to show the max month value regardless of month selection. Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371808#M515794</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-16T15:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371809#M515795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max({&amp;lt;Year = {$(=Max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; Year))}, MonthNum = {"$(=Max({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;Year = {$(=Max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;Year))}&amp;gt;}MonthNum))"}&amp;gt;} PtileBeg)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371809#M515795</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-16T15:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371810#M515796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are awesome, thank you so much! I think I am in need of a set analysis class &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2017 15:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371810#M515796</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-16T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371811#M515797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha yes that would be good. Anyways, if you got everything you were looking for, I would request you to close this thread by marking correct and helpful responses.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&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>Fri, 16 Jun 2017 15:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371811#M515797</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-16T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371812#M515798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working for what I originally asked, thank you. However, now I am needing to use this in a pivot table with Year as dimension. How can I modify this to show the max MonthNum PtileBeg value by each Year regardless of Year selection? I have tried several options and cannot get a value to show for both years, only one at a time based on selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 20:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371812#M515798</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-21T20:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371813#M515799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to elaborate a little bit more for me... can you share a snapshot of what you are seeing and explain what you would want to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 11:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371813#M515799</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-22T11:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis not pulling desired field</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371814#M515800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/167779_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first part of the pivot shows the totals based on selection (ID, Name, etc) and the CP part shows grand totals regardless of selection. I am having trouble with the star values now. I need the formula to point to the max month's Ptile (rate) thresholds by Year to pull the correct Star value. Here is what I'm using now but I know something isn't right &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;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUM_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEN_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Max({&amp;lt;Year = &amp;gt;}MonthNum))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STAR1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NUM_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEN_STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthNum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Max({&amp;lt;Year = &amp;gt;}MonthNum))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STAR2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),1, and so on...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-not-pulling-desired-field/m-p/1371814#M515800</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2017-06-22T12:40:09Z</dc:date>
    </item>
  </channel>
</rss>

