<?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: Calculating a simple percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562545#M1142758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a little difficult to understand what you're trying to do, but if you're looking for a straight percentage, and assuming this is a chart object with Class_Room as a dimension, your expression would be:&lt;/P&gt;&lt;P&gt;count(Student_ID) / Count(Total Student_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this isn't what you meant, try and provide a clearer example of what you're trying to do and what your expected outcome is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 12:26:52 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2013-09-03T12:26:52Z</dc:date>
    <item>
      <title>Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562544#M1142757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please can any one solve my problem, as i am beginner to qlikview and have very little concept of expression and calculated fields in qlikview.&lt;/P&gt;&lt;P&gt;I have a below table under review,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Student_ID&amp;nbsp; Class_Room&lt;/P&gt;&lt;P&gt;A&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; 555&lt;/P&gt;&lt;P&gt;B&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; 666&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;P&gt;E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me the expression which shows % student in two classes.. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562544#M1142757</guid>
      <dc:creator />
      <dc:date>2013-09-03T12:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562545#M1142758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a little difficult to understand what you're trying to do, but if you're looking for a straight percentage, and assuming this is a chart object with Class_Room as a dimension, your expression would be:&lt;/P&gt;&lt;P&gt;count(Student_ID) / Count(Total Student_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this isn't what you meant, try and provide a clearer example of what you're trying to do and what your expected outcome is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:26:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562545#M1142758</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2013-09-03T12:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562546#M1142761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, if you want to show this percentage in a graph, choose your normal expressions, and select an option on the expressions tab called "Relative", I think that might help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562546#M1142761</guid>
      <dc:creator />
      <dc:date>2013-09-03T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562547#M1142762</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;Please provide example as your question is not so clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 12:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562547#M1142762</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2013-09-03T12:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562548#M1142763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to explain an abstract of my problem to you all.&lt;/P&gt;&lt;P&gt;Let me explain it again, I hope would help u to get my problem root cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two fields Student_ID which contains alphabets only in respective rows e.g. A, B, C , D are names of&amp;nbsp; students.&lt;/P&gt;&lt;P&gt;another field is Class_Room to which these student belongs.&lt;/P&gt;&lt;P&gt;now qlikview do permit me to count the student as I input expression Count(Student_ID), but I am unable to calculate relative percentage of these students to each class. &lt;/P&gt;&lt;P&gt;Hope would give u better picture now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562548#M1142763</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562549#M1142764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try to solve it doing what I said?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 13:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562549#M1142764</guid>
      <dc:creator />
      <dc:date>2013-09-03T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562550#M1142765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried but its not working in my case jo !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 06:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562550#M1142765</guid>
      <dc:creator />
      <dc:date>2013-09-04T06:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562551#M1142766</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;do exactly as is say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. create a straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. add your dimension ClassRoom in Dimension tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. add your expression&amp;nbsp; count(Student_Id) if you click ok you will see count of students in each class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. But you require Relative percent so its simple go back to expression tab just check Relative Check&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; box&amp;nbsp; click&amp;nbsp; ok you will see now values as percent .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 07:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562551#M1142766</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-04T07:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562552#M1142767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you have two fields of Student_ID ?&lt;/P&gt;&lt;P&gt;A Student can only be in one or several classes ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a Stunden can only be in one class, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;num(1 / aggr(count(all Student_ID),Class_Room),'#.##0,00%')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it displays the numbers wrong try it with *100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(1 / aggr(count(all Student_ID),Class_Room)*100,'#.##0,00%')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could also display this data in a pivot table with Class_Room&amp;nbsp; as the first dimension and Student_ID as the second dimension. I thinks this would be better so understand which Student belongs to which class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 07:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562552#M1142767</guid>
      <dc:creator />
      <dc:date>2013-09-04T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562553#M1142770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did that and it works! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 10:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562553#M1142770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-17T10:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a simple percentage</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562554#M1142772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This on the Expressions Tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum ([Class_Room]) / count (total [Student_ID]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 13:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-simple-percentage/m-p/562554#M1142772</guid>
      <dc:creator />
      <dc:date>2016-05-24T13:05:09Z</dc:date>
    </item>
  </channel>
</rss>

