<?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: Use of variable in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887314#M309291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;$(POC) is an expression, can you try with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Poche={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;$(POC)='Qui'&lt;/SPAN&gt;"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Poche)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;With the assumption that the = sign is not included&amp;nbsp; in your variable POC. Also $ sign expansion is only evaluated at chart level, so not per row level of the dimension.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Jun 2015 16:25:37 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2015-06-14T16:25:37Z</dc:date>
    <item>
      <title>Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887304#M309281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today i got a problem with qlik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created i variable&lt;EM&gt; &lt;STRONG&gt;$(POC)&lt;/STRONG&gt;&lt;/EM&gt; that can take to value :'Yes' or 'No'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;now i'm tryng use this variable to count a flied called&amp;nbsp; 'Poche' when $(POC) = 'Yes' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;so it'll count the number of 'poche' when &lt;EM style="font-size: 13.3333330154419px;"&gt;$(POC)='Yes'.&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my syntax is like that : count({&amp;lt;$(POC)={'Yes'}&amp;gt;} [Poche])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it dosent work ! Somebody have a solution please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 13:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887304#M309281</guid>
      <dc:creator />
      <dc:date>2015-06-14T13:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887305#M309282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you want is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;Poche = {'$(POC)'}&amp;gt;}[Poche])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 13:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887305#M309282</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-14T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887306#M309283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Sundidia for your answer, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But no, i want to count the number of 'poche' (it can be one,two or five for example ) when my variable $(POC)='Yes'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you understand.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 14:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887306#M309283</guid>
      <dc:creator />
      <dc:date>2015-06-14T14:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887307#M309284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your correctly, try one of these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;=If(POC = 'Yes', Count(Poche)) &lt;/STRONG&gt; or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG style="font-size: 13.3333330154419px;"&gt;=If($(POC) = 'Yes', Count(Poche))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&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>Sun, 14 Jun 2015 14:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887307#M309284</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-14T14:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887308#M309285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your solution, the syntax is good but is not exacly the solution, i explain you again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each 'poche' has his $(POC) value ('Yes' or 'No'),and&amp;nbsp; I want to count the number of poche that has a his $(POC)= 'Yes'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks you very much &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 14:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887308#M309285</guid>
      <dc:creator />
      <dc:date>2015-06-14T14:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887309#M309286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is $(POC) a field or a variable? If it is not a field, then how does each Poche has its own $(POC)??? Do you have a sample that you can share??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 14:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887309#M309286</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-14T14:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887310#M309287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89363_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a example, 'Yes' = 'Oui', No='Non', in this case , i want from my calculeated epression 1 as result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'(POC)' fields containt my variable $(POC). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u understand better know, thanx &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 14:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887310#M309287</guid>
      <dc:creator />
      <dc:date>2015-06-14T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887311#M309288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 17.273006439209px;"&gt; count({$&amp;lt;[(POC)]={'Oui'}&amp;gt;} [Poche])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 15:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887311#M309288</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-14T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887312#M309289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/MarcoWedel"&gt;Marco Wedel&lt;/A&gt;‌ not sure if (POC) is a field or an expression label. From the image it seems Expression to me, but I may be wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 15:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887312#M309289</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-14T15:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887313#M309290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I understand, you have a field called (POC) &lt;EM&gt;and&lt;/EM&gt; a variable POC (be aware that $() is used for a so called dollar sign expansion of a variable, check the HELP for more details). A variable in QV is not connected to the data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are you referring to field (POC) as a variable (which some do, in a more statistics based context)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a variable &lt;EM&gt;and&lt;/EM&gt; a field, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNT({$&amp;lt;[(POC)] = {'$(POC)'}&amp;gt;} [Poche])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or a distinct count:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=COUNT({$&amp;lt;[(POC)] = {'$(POC)'}&amp;gt;} DISTINCT [Poche])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 15:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887313#M309290</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-14T15:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887314#M309291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;$(POC) is an expression, can you try with&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Poche={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;$(POC)='Qui'&lt;/SPAN&gt;"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Poche)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;With the assumption that the = sign is not included&amp;nbsp; in your variable POC. Also $ sign expansion is only evaluated at chart level, so not per row level of the dimension.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 16:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887314#M309291</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-06-14T16:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use of variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887315#M309292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you Piet Hein very much Van der Stigchel, that was eactly want i want&amp;nbsp; !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 17:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-variable-in-set-analysis/m-p/887315#M309292</guid>
      <dc:creator />
      <dc:date>2015-06-14T17:57:01Z</dc:date>
    </item>
  </channel>
</rss>

