<?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: Counting sum in variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432630#M1157550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its looking good to me &lt;/P&gt;&lt;P&gt;but dont know&amp;nbsp; why its not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please attached file stating requirement again without any gap if possible&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;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 11:43:57 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2013-02-13T11:43:57Z</dc:date>
    <item>
      <title>Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432627#M1157544</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;I'm working on a dataset with student applications to a University where we have 66 different types of educations (Biology, Law, Economics etc.). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that I need to make a Straight Table (preferably) where I can calculate the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Count of Number of Educations this Year that have: '0' applications, '1-10' applications, '11-30' applications, '31-100' applications and '&amp;gt;100' applications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="33487" alt="Number of applications.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/33487_Number+of+applications.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I'm able to count the number of educations&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT {&lt;/SPAN&gt;1&amp;lt;&lt;SPAN style="color: #800000;"&gt;Year&lt;/SPAN&gt;={&lt;STRONG style="color: #808080;"&gt;&lt;EM&gt;$(vCurrentYear)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;[Education]&lt;/SPAN&gt;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not the number of Educations that have '0' applications, '1-10' applications and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this please&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432627#M1157544</guid>
      <dc:creator />
      <dc:date>2013-02-13T10:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432628#M1157545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(applicant fieldname=0,0,&lt;/P&gt;&lt;P&gt;if(applicant fieldname&amp;gt;0 and applicant fieldname&amp;lt;=10,'1-10',&lt;/P&gt;&lt;P&gt;if(applicant fieldname&amp;gt;10 and applicant fieldname&amp;lt;=30,'10-30',&lt;/P&gt;&lt;P&gt;if(applicant fieldname&amp;gt;30 and applicant fieldname&amp;lt;=100,'10-30',&lt;/P&gt;&lt;P&gt;if(applicant fieldname&amp;gt;100,'&amp;gt;100')))))&amp;nbsp; as &lt;STRONG&gt;youfieldname &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and take this &lt;STRONG&gt;youfieldname &lt;/STRONG&gt; in dimension and drag it tohorizontally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 10:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432628#M1157545</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T10:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432629#M1157547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Hi Luminary&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Thanks for your quick reply, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;I can't get it to work though. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;I've done the following in the script: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0,'0',&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=10,'1-10',&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;10 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=30,'11-30',&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;30 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=100,'31-100',&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Education&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;100,'&amp;gt;100')))))&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EducationCountGrouped&lt;/SPAN&gt;&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;Can you see what I'm doing wrong?&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;I've attached a cleaned copy of my data in the original post so you can see it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/SPAN&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;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Bruno&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432629#M1157547</guid>
      <dc:creator />
      <dc:date>2013-02-13T11:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432630#M1157550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its looking good to me &lt;/P&gt;&lt;P&gt;but dont know&amp;nbsp; why its not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please attached file stating requirement again without any gap if possible&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;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432630#M1157550</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T11:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432631#M1157552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luminary &lt;/P&gt;&lt;P&gt;I'm not sure I expressed myself appropiate in my original post. I'm sorry, I'll try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing i'm looking for is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset with app. 10.000 rows, 1 for each person who applied to an Education on our University. We have 66 different Educations an applicant can choose from, f.ex. Biology, Law, Medicin and Economics. So if there is 29 applicants for Biology the dataset have 29 rows under the Education 'Biology' (1 for each person who applied).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make a table that can summarize how many Educations that have had 0 applications, 1-10 applications, 11-30 applications 31-100 applications and &amp;gt;100 applications. F.ex. Biology recieved 29 applications, Economics 71 applications, Law 201 applications and Medicin 1.504 applications. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on these 4 Educations, my table would need to look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 app.&amp;nbsp;&amp;nbsp; 1-10 app.&amp;nbsp;&amp;nbsp; 11-30 app.&amp;nbsp;&amp;nbsp; 31-100 app.&amp;nbsp;&amp;nbsp; &amp;gt;100 app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this is also what you understood in the first place, what do I need to write in my expression in my table? I can't' figure it out &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 13:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432631#M1157552</guid>
      <dc:creator />
      <dc:date>2013-02-13T13:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432632#M1157553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attched file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 16:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432632#M1157553</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T16:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432633#M1157554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thanks for your effort.&lt;/P&gt;&lt;P&gt;I still can't get it to work though. The problem is that I do not have aggregatet data (for data see attachment in original post). I get all my Educations within 1-10, because I have a variable I'm counting on (CountVar) that equals 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your TEST1 loads the data aggregatet as far as I can see. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's probably a little thing, but I can't' figure it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Bruno &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 07:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432633#M1157554</guid>
      <dc:creator />
      <dc:date>2013-02-14T07:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432634#M1157555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 10:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432634#M1157555</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-14T10:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Counting sum in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432635#M1157557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly what I was looking for - thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 10:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-sum-in-variable/m-p/432635#M1157557</guid>
      <dc:creator />
      <dc:date>2013-02-14T10:41:08Z</dc:date>
    </item>
  </channel>
</rss>

