<?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 question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73757#M510831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just says "No data to display".&lt;/P&gt;&lt;P&gt;I know for sure there are records,&amp;nbsp; something is getting hung up in this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2018 16:40:26 GMT</pubDate>
    <dc:creator>gerrycastellino</dc:creator>
    <dc:date>2018-04-23T16:40:26Z</dc:date>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73753#M510827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a expression which limits the worker type =&amp;nbsp; that is in an island column called %Spans_Worker_Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I insert the set analysis,&amp;nbsp; the choices from the default state are bleeding into this expression for worker type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(sum({&amp;lt;[Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&amp;gt;}AGGR({&amp;lt;[Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&amp;gt;}if(Sum({&amp;lt;%MAIN_ORG_SpanSumm = {$(vL2MainOrg)}, [Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&amp;gt;}TOTAL_ROLL_UP_COUNT)&amp;lt;=2,1),SL_SPRVSRY_ORG_WID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(only({&amp;lt;[Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&amp;gt;} [Worker&amp;nbsp; Type]), [Worker&amp;nbsp; Type])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to count the #managers , where direct reports &amp;lt;=2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 03:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73753#M510827</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2018-04-21T03:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73754#M510828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Worker Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&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;[Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&amp;gt;}Aggr(If(Sum({&amp;lt;%MAIN_ORG_SpanSumm = {$(vL2MainOrg)}, [Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&amp;gt;} TOTAL_ROLL_UP_COUNT) &amp;lt;= 2, Avg({&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Worker&amp;nbsp; Type] = P(%Spans_Worker_Type)&lt;/STRONG&gt;&amp;gt;}1)), SL_SPRVSRY_ORG_WID))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 11:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73754#M510828</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-21T11:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73755#M510829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wow ! that was perfect.&lt;/P&gt;&lt;P&gt;Thank you so much !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar expression that is sort of similar syntax, thought it would just convert as you had up above,&amp;nbsp; but not quite getting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;rangesum(sum({&amp;lt;[Worker&amp;nbsp; Type] = {'Regular Employee'}&amp;gt;}AGGR(if(Count({&amp;lt;$(vSelectionSpan), [Worker&amp;nbsp; Type] = {'Regular Employee'}&amp;gt;} EMPLOYEE_ID_Span_Layers)&amp;lt;=2,1),SL_SPRVSRY_ORG_WID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Converted:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Worker&amp;nbsp; Type] = {'Regular Employee'}&amp;gt;}AGGR(if(Count({&amp;lt;$(vSelectionSpan), [Worker&amp;nbsp; Type] = {'Regular Employee'}&amp;gt;} EMPLOYEE_ID_Span_Layers)&amp;gt;=1 and &lt;/P&gt;&lt;P&gt;Count({&amp;lt;$(vSelectionSpan), [Worker&amp;nbsp; Type] = {'Regular Employee'}&amp;gt;} EMPLOYEE_ID_Span_Layers)&amp;lt;=2,Avg({&amp;lt;[Worker&amp;nbsp; Type] = {'Regular Employee'}&amp;gt;}1)),SL_SPRVSRY_ORG_WID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just doing a range now, instead of &amp;lt;=2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 07:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73755#M510829</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2018-04-23T07:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73756#M510830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks okay to me syntax wise... is this giving you an error or incorrect output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73756#M510830</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-23T09:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73757#M510831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just says "No data to display".&lt;/P&gt;&lt;P&gt;I know for sure there are records,&amp;nbsp; something is getting hung up in this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73757#M510831</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2018-04-23T16:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73758#M510832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will be difficult to say without having a look at it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 16:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73758#M510832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-23T16:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73759#M510833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok the vSelectionSpan is expanding to this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200574_Capture.PNG" style="height: 121px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 17:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73759#M510833</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2018-04-23T17:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73760#M510834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the variable looks okay to me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 17:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73760#M510834</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-23T17:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73761#M510835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variable is interfering with the calculation, if I take it out of the calculation, it executes,&amp;nbsp; but gives me a wrong result, &lt;SPAN style="font-size: 10pt;"&gt;but it executes,&amp;nbsp; something in the variable syntax is causing the entire expression to blow up.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 18:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/73761#M510835</guid>
      <dc:creator>gerrycastellino</dc:creator>
      <dc:date>2018-04-23T18:34:39Z</dc:date>
    </item>
  </channel>
</rss>

