<?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: Variable in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285970#M869384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starts the variable vLineout_FCV_Win with an equal sign? Does this variable return the expected value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quite helpful to see how an expression is evaluated is to use a table-chart for it and don't using a name for them and then viewing the evaluation within the expression-label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 07:44:30 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-12-06T07:44:30Z</dc:date>
    <item>
      <title>Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285968#M869382</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 struggling to get a variable in set analysis to return the correct amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[*Lineout Type]={'$(vLineout_FCV_Win)'}&amp;gt;} [*Lineout Type])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;vLineout_FCV_Win = FirstSortedValue(DISTINCT [*Lineout Type],-aggr(count({&amp;lt;[*Result]={'Win'}&amp;gt;}[*Lineout Type])+rank([*Lineout Type],[*Lineout Type])/10,[*Lineout Type]))&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285968#M869382</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285969#M869383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; usually put my expression in a straight table with no column header. The expression will become the header and you will Gorky get an indication on what's wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried the following 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;count({&amp;lt;[*Lineout Type]={"$(=vLineout_FCV_Win)"}&amp;gt;} [*Lineout Type])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285969#M869383</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2016-12-06T07:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285970#M869384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starts the variable vLineout_FCV_Win with an equal sign? Does this variable return the expected value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quite helpful to see how an expression is evaluated is to use a table-chart for it and don't using a name for them and then viewing the evaluation within the expression-label.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285970#M869384</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-06T07:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285971#M869385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have tried the expression and get the return of zero&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285971#M869385</guid>
      <dc:creator />
      <dc:date>2016-12-06T07:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285972#M869386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I get the error ''Error in set modifier ad hoc element list: ',' or ')' expected''&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 08:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285972#M869386</guid>
      <dc:creator />
      <dc:date>2016-12-06T08:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285973#M869387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the variable itself or for the expression with variable? Especially in such cases is it useful to look within the label how the expression will be evaluated and I would further split the approach into several steps by splitting the count- and aggr- and rank-functions to ensure they return the right results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 08:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285973#M869387</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-06T08:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285974#M869388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the expression with variable.&lt;/P&gt;&lt;P&gt;The variable itself is returning the correct amount&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 08:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285974#M869388</guid>
      <dc:creator />
      <dc:date>2016-12-06T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285975#M869389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starts the variable vLineout_FCV_Win with an equal sign?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 08:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285975#M869389</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-12-06T08:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285976#M869390</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;1. Create variable, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vLineout_FCV_Win&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; 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: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[*Lineout Type]=&lt;/SPAN&gt;FirstSortedValue(DISTINCT [*Lineout Type],-aggr(count({&amp;lt;[*Result]={'Win'}&amp;gt;}[*Lineout Type])+rank([*Lineout Type],[*Lineout Type])/10,[*Lineout Type]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; 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: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2. &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({&amp;lt;$(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vLineout_FCV_Win&lt;/SPAN&gt;)&amp;gt;} [*Lineout Type])&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 16:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285976#M869390</guid>
      <dc:creator>muthukumar77</dc:creator>
      <dc:date>2016-12-06T16:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285977#M869391</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;If your variable declaration is in Script, try with LET Statement instead of SET. Sometimes this will solve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 16:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285977#M869391</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-12-06T16:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285978#M869392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 10:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285978#M869392</guid>
      <dc:creator />
      <dc:date>2017-01-06T10:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285979#M869393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to use: '$(vSTATS_Top_LineoutCombo_Win)' as far as your variable-expression will be caluclated within the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285979#M869393</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-06T11:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285980#M869394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide below info :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.if u take that variable in text box , what is ur output in it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2.What is Lineout Type consist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Nagarjun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 11:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285980#M869394</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2017-01-06T11:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285981#M869395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output is ''5 Man / Middle''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lineout Type consists of text strings (5 Man, 4 Man, Full)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 06:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-Analysis/m-p/1285981#M869395</guid>
      <dc:creator />
      <dc:date>2017-01-07T06:14:19Z</dc:date>
    </item>
  </channel>
</rss>

