<?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 Straight Table Row Level Calculation.... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786306#M278195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a straight table with one dimension, and two expressions&lt;/P&gt;&lt;P&gt;let say i have country | Budget | Actual | %&lt;/P&gt;&lt;P&gt;in the percent column, i have to calculate the %, and formula is first value of Actual, will be divided by all other values in the down rows..&lt;/P&gt;&lt;P&gt;first row will be empty&lt;/P&gt;&lt;P&gt;120/ 1200 for the second row of %, which is B&lt;/P&gt;&lt;P&gt;170/ 1200 for the third row in % column, which is C&lt;/P&gt;&lt;P&gt;200/1200 for the fourth row in % column... so on&lt;/P&gt;&lt;P&gt;till the end, i have 10 rows fixed...&lt;/P&gt;&lt;P&gt;your help will be highly appreciated,,i am stuck here.. kindly help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Budget&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Actual&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100 fixed...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120/&lt;SPAN style="font-size: 13.3333330154419px;"&gt;1200&lt;/SPAN&gt;= ?&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;170&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;170/1200 =?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200/1200 = ?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130/1200 = ?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;149&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;149/ 1200 = ?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 16:58:18 GMT</pubDate>
    <dc:creator>israrkhan</dc:creator>
    <dc:date>2015-03-11T16:58:18Z</dc:date>
    <item>
      <title>Straight Table Row Level Calculation....</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786306#M278195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a straight table with one dimension, and two expressions&lt;/P&gt;&lt;P&gt;let say i have country | Budget | Actual | %&lt;/P&gt;&lt;P&gt;in the percent column, i have to calculate the %, and formula is first value of Actual, will be divided by all other values in the down rows..&lt;/P&gt;&lt;P&gt;first row will be empty&lt;/P&gt;&lt;P&gt;120/ 1200 for the second row of %, which is B&lt;/P&gt;&lt;P&gt;170/ 1200 for the third row in % column, which is C&lt;/P&gt;&lt;P&gt;200/1200 for the fourth row in % column... so on&lt;/P&gt;&lt;P&gt;till the end, i have 10 rows fixed...&lt;/P&gt;&lt;P&gt;your help will be highly appreciated,,i am stuck here.. kindly help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Country&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Budget&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Actual&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100 fixed...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120/&lt;SPAN style="font-size: 13.3333330154419px;"&gt;1200&lt;/SPAN&gt;= ?&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;170&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;170/1200 =?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200/1200 = ?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130/1200 = ?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;149&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;149/ 1200 = ?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 16:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786306#M278195</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-03-11T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Row Level Calculation....</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786307#M278196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;EM&gt;sum(Actual)/&lt;EM&gt;top(sum(Actual))&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 17:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786307#M278196</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-11T17:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Row Level Calculation....</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786308#M278197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM(Actual)/Max(TOTAL Aggr(SUM(Actual),Country))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 17:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786308#M278197</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-11T17:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Row Level Calculation....</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786309#M278198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helpful reply,&lt;/P&gt;&lt;P&gt;but may be all the time first value will not be maximum,,,&lt;/P&gt;&lt;P&gt;may be first value is 1000 and second is 1200...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 17:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786309#M278198</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-03-11T17:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Row Level Calculation....</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786310#M278199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert Great...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 17:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786310#M278199</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-03-11T17:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Row Level Calculation....</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786311#M278200</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;Try this in the expression tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Actual&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Actual&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#,#0.00') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;This will give you % based upon sum of Actual field, so in your example, your Actual will equal 1969. So each row will be, i.e. 1200/1969 = 0.61.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My question is do you want your % calculated on row above of the total of Actual?&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;I know this has been answered but something to think about.&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;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 17:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Row-Level-Calculation/m-p/786311#M278200</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-03-11T17:25:16Z</dc:date>
    </item>
  </channel>
</rss>

