<?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 expression answer in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349920#M577800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=TOTALFIELD / above( TOTALFIELD ) -1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where TOTALFIELD is the field name which contains your total (or use sum(Value) if you need to calculate your total).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2012 22:30:26 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-04-12T22:30:26Z</dc:date>
    <item>
      <title>expression answer</title>
      <link>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349919#M577796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;i have a table with this data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; Total&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;2001&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;2002&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;2003&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;i put this into a chart table and i need to make an expression&amp;nbsp; on the line 2002 doing the follow thing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; Total&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; Expresion &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;2002&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; total2002/Total2001 - 1 = 1&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;2003&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | total2003/Total2002 - 1 = 0,5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;and so forth with&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;a table&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;of many&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #f5f5f5;"&gt;more values&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;.&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt;how would be this expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;tnk's,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 22:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349919#M577796</guid>
      <dc:creator />
      <dc:date>2012-04-12T22:25:26Z</dc:date>
    </item>
    <item>
      <title>expression answer</title>
      <link>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349920#M577800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=TOTALFIELD / above( TOTALFIELD ) -1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where TOTALFIELD is the field name which contains your total (or use sum(Value) if you need to calculate your total).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 22:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349920#M577800</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-12T22:30:26Z</dc:date>
    </item>
    <item>
      <title>expression answer</title>
      <link>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349921#M577801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your suggestion, it was useful for me....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression works to me with "before"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;total/before(total)-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 00:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349921#M577801</guid>
      <dc:creator />
      <dc:date>2012-04-13T00:55:16Z</dc:date>
    </item>
    <item>
      <title>expression answer</title>
      <link>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349922#M577802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, right. You probably use a pivot table chart, then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart inter record functions like above(), before() are depending on your dimension values orientation and sort order, so you must pick the right one for your needs (and take care for the case user changes sort order &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 09:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-answer/m-p/349922#M577802</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-13T09:10:46Z</dc:date>
    </item>
  </channel>
</rss>

