<?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: Expression for % in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378418#M141121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can calculate the percentage by dividing the sum of books by the total number of books across all subjects, so probably you need something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum([No. of Books]) / sum(&lt;STRONG&gt;total&amp;lt;City&amp;gt; &lt;/STRONG&gt;[No. of Books])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can format the expression on number tab in charts properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 09:59:14 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-08-16T09:59:14Z</dc:date>
    <item>
      <title>Expression for %</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378417#M141120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data sheet(attached below). I want to calculate the % composition of the books of each subject wrt to the library. EX: 20% of the books in L1 are of history and 80% are of geogrpahy. I want to know the expression for calculating this. The dimension i want to use is, city and subject. the bar graph is stacked and the stacks should be made of diff. subjects in the respective libraries. I want to filter the data acc. to library. I am attaching the qvw file for reference. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 09:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378417#M141120</guid>
      <dc:creator />
      <dc:date>2012-08-16T09:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression for %</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378418#M141121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can calculate the percentage by dividing the sum of books by the total number of books across all subjects, so probably you need something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum([No. of Books]) / sum(&lt;STRONG&gt;total&amp;lt;City&amp;gt; &lt;/STRONG&gt;[No. of Books])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can format the expression on number tab in charts properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 09:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378418#M141121</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-16T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Expression for %</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378419#M141122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks swuehl for the reply. 3rd graph wil work for me, one more thing, if i want to put 3 dimensions in my chart and enable condition on two of them, either this one or that one. then what changes i will have to do in the expression so that 3rd graph works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 10:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378419#M141122</guid>
      <dc:creator />
      <dc:date>2012-08-16T10:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression for %</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378420#M141123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add School to the TOTAL qualifier field list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum([No. of Books]) / sum(total&amp;lt;City,School&amp;gt; [No. of Books])&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 10:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378420#M141123</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-08-16T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression for %</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378421#M141124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okk, thanks swuehl.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 10:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378421#M141124</guid>
      <dc:creator />
      <dc:date>2012-08-16T10:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression for %</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378422#M141125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i have to calculate growth in % composition of the books in 1 month, then what should be the expression. &lt;/P&gt;&lt;P&gt;EX: if % of history books in was 20% in previous month and now 25%, then the growth is 5%.&lt;/P&gt;&lt;P&gt;I have one more coloumn added in the table known as time period, which contain two entries: current and previous, which means current month and previous month. now, what should be the expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 11:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-for/m-p/378422#M141125</guid>
      <dc:creator />
      <dc:date>2012-08-16T11:58:23Z</dc:date>
    </item>
  </channel>
</rss>

