<?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/659426#M1077121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What the error message are you getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use if...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Region='Thompson', $(vSL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 10:36:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-11T10:36:49Z</dc:date>
    <item>
      <title>Variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659422#M1077117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a variable&lt;/P&gt;&lt;P&gt;vSL =&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_IN_CALLS_HNDLD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_IN_CALLS_ABAND&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_ROUTED_OUT_CALLS&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_TRANS_AP_CALLS_HNDLD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_OVRFLW_IN_CALLS_HNDLD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_CALL_OVRFLW_OUT&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_CALLS_HELD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ServCalls&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_IN_CALLS_HNDLD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_IN_CALLS_ABAND&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_ROUTED_OUT_CALLS&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_TRANS_AP_CALLS_HNDLD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_OVRFLW_IN_CALLS_HNDLD&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AP_CALL_OVRFLW_OUT&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Answered+Transfered]&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;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Abandoned&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;&lt;SPAN style="font-size: 8pt;"&gt;and would like to use it in a set analysis for each region but this does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=sum({$&amp;lt;Region={'Thompson'}$(vSL))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Please assist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659422#M1077117</guid>
      <dc:creator />
      <dc:date>2014-07-11T10:10: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/659423#M1077118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you cannot write Sum( ... Sum(...)) and this is what you have done!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should include the region (declared as a variable) in each sum ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:15:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659423#M1077118</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-11T10:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659424#M1077119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mamorex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assign the variable to which field its pointing, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_state = ABCD then use it as below&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: 11px;"&gt;=sum({$&amp;lt;Region={'Thompson'}, State ={'$(V_State)'})&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: 11px;"&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: 11px;"&gt;hope this helps... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659424#M1077119</guid>
      <dc:creator>santhosh_k_n</dc:creator>
      <dc:date>2014-07-11T10:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659425#M1077120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;vSL = '(AP_IN_CALLS_HNDLD+ .....) / ( ......) '&lt;/P&gt;&lt;P&gt;vPart1= 'Sum({&amp;lt;Region={'&amp;amp;chr(39)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I.e. Take the fields without Sum() in variable declaration and now in the expression try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=vPart1&amp;amp;'Thompson'&amp;amp;chr(39)&amp;amp;'}&amp;gt;}'&amp;amp;$(vSL)&amp;amp;')' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659425#M1077120</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-07-11T10:27: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/659426#M1077121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What the error message are you getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use if...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Region='Thompson', $(vSL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 10:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis/m-p/659426#M1077121</guid>
      <dc:creator />
      <dc:date>2014-07-11T10:36:49Z</dc:date>
    </item>
  </channel>
</rss>

