<?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 Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285154#M863239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but I still get the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 11:22:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-06T11:22:20Z</dc:date>
    <item>
      <title>Set Analysis Error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285151#M863236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still struggling with adding the variable to a set analysis expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;STATS_LineoutType_Number_Combo={'vSTATS_Top_LineoutCombo_Win'}&amp;gt;} STATS_LineoutType_Number_Combo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where vSTATS_Top_LineoutCombo_Win = firstsortedvalue( DISTINCT STATS_LineoutType_Number_Combo, -Aggr(count({&amp;lt;STATS_LineoutType_Number_Combo-={' / '},[STATS Group Movement Result]={'Effective'}&amp;gt;}STATS_LineoutType_Number_Combo),STATS_LineoutType_Number_Combo)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the error;&lt;/P&gt;&lt;P&gt;Error in set modifier ad hoc element list:&lt;/P&gt;&lt;P&gt;',' or ')' expected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285151#M863236</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285152#M863237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&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;count({$&amp;lt;STATS_LineoutType_Number_Combo={&lt;STRONG&gt;$(&lt;/STRONG&gt;vSTATS_Top_LineoutCombo_Win&lt;STRONG&gt;)&lt;/STRONG&gt;}&amp;gt;} STATS_LineoutType_Number_Combo)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and do not use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DISTINCT &lt;/SPAN&gt;in firstsortedvalue function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285152#M863237</guid>
      <dc:creator>annafuksa1</dc:creator>
      <dc:date>2017-01-06T11:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285153#M863238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using this expression in a text box object?&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;firstsortedvalue( DISTINCT STATS_LineoutType_Number_Combo, -Aggr(count({&amp;lt;STATS_LineoutType_Number_Combo-={' / '},[STATS Group Movement Result]={'Effective'}&amp;gt;}STATS_LineoutType_Number_Combo),STATS_LineoutType_Number_Combo))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it give you a single value? This is the same value which will be used in your set analysis and will stay the same across all dimensions? If that is all fine, then 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;Count({$&amp;lt;STATS_LineoutType_Number_Combo={'&lt;SPAN style="color: #ff0000;"&gt;$(=&lt;/SPAN&gt;vSTATS_Top_LineoutCombo_Win&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;'}&amp;gt;} STATS_LineoutType_Number_Combo)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285153#M863238</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285154#M863239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but I still get the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285154#M863239</guid>
      <dc:creator />
      <dc:date>2017-01-06T11:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Error</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285155#M863240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the second problem is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;firstsortedvalue( DISTINCT STATS_LineoutType_Number_Combo, -Aggr(count({&amp;lt;STATS_LineoutType_Number_Combo-={' / '},[STATS Group Movement Result]={'Effective'}&amp;gt;}STATS_LineoutType_Number_Combo),STATS_LineoutType_Number_Combo))&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;you try to do operation on one to many value&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;I have not idea what should be the result but Aggr function should be to full expression not the part, or erase Aggr function.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Error/m-p/1285155#M863240</guid>
      <dc:creator>annafuksa1</dc:creator>
      <dc:date>2017-01-06T11:32:23Z</dc:date>
    </item>
  </channel>
</rss>

