<?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 Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172649#M42128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to make a chart, where my numbers must be in %, and I always want to calculate with the same denominator.&lt;/P&gt;&lt;P&gt;At this moment I get for every month 100%, but I would like to get for example ' sum (revenue) / sum (revenue) jan 2008.&lt;/P&gt;&lt;P&gt;Can someone help me with the formula so my division always calculates with the denominator of the same month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 14:05:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-01T14:05:18Z</dc:date>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172649#M42128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to make a chart, where my numbers must be in %, and I always want to calculate with the same denominator.&lt;/P&gt;&lt;P&gt;At this moment I get for every month 100%, but I would like to get for example ' sum (revenue) / sum (revenue) jan 2008.&lt;/P&gt;&lt;P&gt;Can someone help me with the formula so my division always calculates with the denominator of the same month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 14:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172649#M42128</guid>
      <dc:creator />
      <dc:date>2010-06-01T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172650#M42129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is the denominator month determined? You will probably need the TOTAL modifier and some Set Analysis.&lt;/P&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(revenue)/sum({&amp;lt;MonthYr = {'200801'}&amp;gt;}TOTAL revenue)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The TOTAL modifier ignores the dimension. You are getting 100% for everything because both the numerator and denominator are only calculating for the month in the dimension. The Set Analysis then limits the denominator to a specific month. That portion will change depending on your date format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 15:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172650#M42129</guid>
      <dc:creator />
      <dc:date>2010-06-01T15:19:49Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172651#M42130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;It seems that the formula is ok because qlikview doesn't give an error , but I don't receive any results in my graph.&lt;/P&gt;&lt;P&gt;Probably because of the determination of my 'MonthYr', but I have to get a deeper look at it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 15:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172651#M42130</guid>
      <dc:creator />
      <dc:date>2010-06-01T15:50:10Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172652#M42131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you post a QVW file, it will be easier for us to give you the correct formula (even if you don't give the full data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 15:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172652#M42131</guid>
      <dc:creator />
      <dc:date>2010-06-01T15:52:42Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172653#M42132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An example would be very helpful.&lt;/P&gt;&lt;P&gt;The Set Anaysis portion is:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;...MonthYr = {'200801'}&amp;gt;}...&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You need to change MonthYr to the name of your field. Do you have a month/year combined field or individual fields for each? Then the 200801 portion needs to be the format of your field. If you have separate fields, it may be something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(revenue)/sum({&amp;lt;Month = {1}, Year={2008}&amp;gt;}TOTAL revenue)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;These are all just guesses as we don't know what your data looks like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 16:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172653#M42132</guid>
      <dc:creator />
      <dc:date>2010-06-01T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172654#M42133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Hello,&lt;/P&gt;&lt;P style="font-weight: bold"&gt;This is my formula at the moment.&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Sum&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking if I can post the qvw file without giving the full data, but this I have to find out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(&lt;B&gt;OmzetGewicht&lt;/B&gt;) / &lt;B&gt;Sum&lt;/B&gt; ({&amp;lt;&lt;B&gt;MaandJaar&lt;/B&gt; = {&lt;B&gt;"200801"&lt;/B&gt;}&amp;gt;} &lt;B&gt;TOTAL&lt;/B&gt; &lt;B&gt;OmzetGewicht&lt;/B&gt;) &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 16:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172654#M42133</guid>
      <dc:creator />
      <dc:date>2010-06-01T16:07:44Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172655#M42134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a List Box for your MaandJaar field, do the values look like 200801?&lt;/P&gt;&lt;P&gt;Try adding Sum(TOTAL OmzetGewicht) as an expression are you getting values?&lt;/P&gt;&lt;P&gt;I'm guessing the Set Analysis is your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 16:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172655#M42134</guid>
      <dc:creator />
      <dc:date>2010-06-01T16:14:28Z</dc:date>
    </item>
    <item>
      <title>Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Formula/m-p/172656#M42135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was indeed the set analysis. My MonthYear was set up like "jan-2008". Now it works.&lt;/P&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 16:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula/m-p/172656#M42135</guid>
      <dc:creator />
      <dc:date>2010-06-01T16:28:41Z</dc:date>
    </item>
  </channel>
</rss>

