<?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: Count and Set Analys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194351#M875035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really Don't no, Why do you use the Sum&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;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;KundNr&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;"$(=RangeSum('vSetRolling12','vNettoFörs','vOmsG')"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;KundNr&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2016 10:07:04 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2016-10-26T10:07:04Z</dc:date>
    <item>
      <title>Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194347#M875031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I cannot get this Count working, what do I do wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KundNr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"=Sum( {$&amp;lt;$(vSetRolling12)&amp;gt;} $(vNettoFörs) )&amp;gt; $(vOmsG)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KundNr&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;kindly&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Håkan&lt;/SPAN&gt;&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/Count-and-Set-Analys/m-p/1194347#M875031</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194348#M875032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing your variable definitions it would be hard to even guess. Could you post your qvw sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194348#M875032</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-26T09:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194349#M875033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A _jive_internal="true" data-avatarid="2991" data-externalid="" data-presence="null" data-userid="26418" data-username="tresesco" href="https://community.qlik.com/people/tresesco"&gt;tresesco&lt;/A&gt;‌ but for starters may be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt; KundNr = {"=Sum( {$&amp;lt;$(vSetRolling12), $(vNettoFörs)&amp;gt;} $(vOmsG)"}&amp;gt;}Distinct KundNr)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194349#M875033</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194350#M875034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please share the sample file that shows ur issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194350#M875034</guid>
      <dc:creator>nagarjuna_kotha</dc:creator>
      <dc:date>2016-10-26T09:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194351#M875035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really Don't no, Why do you use the Sum&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;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;KundNr&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;"$(=RangeSum('vSetRolling12','vNettoFörs','vOmsG')"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;KundNr&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194351#M875035</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-26T10:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194352#M875036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the error I get:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Count1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141989_Count1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;All the variables works by themselves, it´s when I try to compare with variable vOmsG it fails.&lt;/P&gt;&lt;P&gt;I tried Sunny T:s change but got the same error.&amp;nbsp; I will try to create an example qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194352#M875036</guid>
      <dc:creator />
      <dc:date>2016-10-26T10:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194353#M875039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you happen to have double quotes within any of your three variables? I think it would be helpful if we can see how you define your three variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 10:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194353#M875039</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T10:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194354#M875041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;here are my variables:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Count2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141990_Count2.png" style="width: 620px; height: 491px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Count3.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/141991_Count3.png" style="width: 620px; height: 356px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Count4.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/142001_Count4.png" style="width: 620px; height: 387px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194354#M875041</guid>
      <dc:creator />
      <dc:date>2016-10-26T11:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194355#M875043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For 1st Variable Remove &lt;STRONG&gt;PeriodID&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194355#M875043</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-26T11:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194356#M875045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing this to single quotes&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/142000_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194356#M875045</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T11:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194357#M875046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try replacing double quotes with single quotes in the &lt;STRONG&gt;&lt;EM&gt;vSetRolling12&lt;/EM&gt;&lt;/STRONG&gt; variable definition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194357#M875046</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-10-26T11:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194358#M875047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would you ask the OP to remove a set analysis statement bro? This will drastically change the result of the expression. I advice against removing PeriodID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194358#M875047</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-26T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194359#M875048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Hakan, I think you'll need to create a variable that retrieves the different PeriodID to apply so you can avoid the double quotes in vSetRolling12, in example, create a variable vRolling12&lt;SPAN style="font-size: 13.3333px;"&gt;PeriodID like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=Chr(39) &amp;amp; Concat(Distinct {&amp;lt;PeriodID={"Same_conditions_as_in_vSetRolling12"}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;PeriodID&lt;/SPAN&gt;, Chr(39) &amp;amp; ',' &amp;amp; Chr(39)) &amp;amp; Chr(39)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then you can change the condition in &lt;SPAN style="font-size: 13.3333px;"&gt;vSetRolling12 to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PeriodID={$(&lt;SPAN style="font-size: 13.3333px;"&gt;vRolling12&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PeriodID)}....&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;// Wich will contain only single quotes. Note that the PeriodID retrieved will be the same for all rows in the chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Not tested, maybe there is a typo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 11:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194359#M875048</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-10-26T11:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194360#M875049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, I thought that is Simple Expression. I didn't notice those in depth. Anyhow thanks for your inputs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 12:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-and-Set-Analys/m-p/1194360#M875049</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-26T12:06:49Z</dc:date>
    </item>
  </channel>
</rss>

