<?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: very very important....how to add a row in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371832#M138223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Every value? - than the chart 1 is what you need.&lt;/P&gt;&lt;P&gt;Or maybe chart 3 - see attched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 01:36:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-01T01:36:32Z</dc:date>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371826#M138217</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;i am creating a pivot table in which i am taking a column from database as row. from database i am getting six different rows but i want to add 2 more rows showing the total of these 8 rows and their count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do that.....plz help me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 07:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371826#M138217</guid>
      <dc:creator />
      <dc:date>2012-04-27T07:07:16Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371827#M138218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I don't see how to add two total rows, but you can show both sum and count in one row, for example by using expression like this:&lt;BR /&gt;if(rowno()&amp;gt;0,&lt;BR /&gt;sum(Price)&lt;BR /&gt;, 'sum=' &amp;amp; sum(Measure) &amp;amp;';&amp;nbsp; ' &amp;amp; 'count=' &amp;amp; count(Measure))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 10:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371827#M138218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-27T10:27:02Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371828#M138219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could u be more specific plz...tell me where to write that expression and how to show which is count and which is sum???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 11:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371828#M138219</guid>
      <dc:creator />
      <dc:date>2012-04-27T11:01:28Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371829#M138220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; in addition to it i want to know whether i can add values in the dimension fetched from database,while using it in the pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in mycase i need to sum of amount of top10 and for others....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 11:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371829#M138220</guid>
      <dc:creator />
      <dc:date>2012-04-27T11:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371830#M138221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching an example.&lt;/P&gt;&lt;P&gt;Chart 1 contains expressions for sum (total) and count.&amp;nbsp; Chart 2 - only sum, but both "total" and count are in the total row. &lt;/P&gt;&lt;P&gt;It is not adding two rows, but providing both totals in one row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2012 19:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371830#M138221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-28T19:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371831#M138222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not what i am looking for...in my case i am applying logic on every value of the dimension to get the desired results in the columns...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Vitul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 06:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371831#M138222</guid>
      <dc:creator />
      <dc:date>2012-04-30T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371832#M138223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Every value? - than the chart 1 is what you need.&lt;/P&gt;&lt;P&gt;Or maybe chart 3 - see attched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 01:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371832#M138223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-01T01:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371833#M138224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx for your help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not what i am liikong for....let me explain in more detail....for that i am goin to attach an image..it wud be easier for u to understand that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in image...i am using a column 'provider' as a dimension from the database and i want the top 10 provider on the basis of another column 'amount'.&lt;/P&gt;&lt;P&gt;after that i have to show the sum of top 10 in the pivot table and sum of the rest of providers in another row..tell me how to achieve it plz???&lt;IMG alt="pivot_table problem.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13678_pivot_table+problem.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 05:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371833#M138224</guid>
      <dc:creator />
      <dc:date>2012-05-02T05:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371834#M138225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi michael and theses values jp,rs,shine etc are coming from database and it will keep on changing on the basis of the 'amount'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Vitul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 05:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371834#M138225</guid>
      <dc:creator />
      <dc:date>2012-05-02T05:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371835#M138226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vitul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is certainly possible, with a minor exception - "all other" is above "total of top 10".&lt;BR /&gt;Here is how to implement it:&lt;BR /&gt;1. Your dimension should be a calculated dimension, using rank() function based on the sum of Amount (or whatver expression you need), which filters out dimensions values with rank&amp;lt;10.&amp;nbsp; It is dynamic, changes after reload as data changes.&amp;nbsp; Do not check "Suppress When Value Is Null" - it will keep your "all others".&lt;BR /&gt;2. On the Presentation tab, replace default "Null symbol" with the text "all others"&lt;BR /&gt;3. Expressions will be conditional, based on rank, and different for total.&amp;nbsp; The logic is like this:&lt;BR /&gt; If it is not "total" line, use expression as is (e.g. sum(Amount))&lt;BR /&gt; if it is the total line, the expression is conditional and includes only values if dimension has rank&amp;gt;10 (e.g. sum(&amp;lt;rank-based conditions using if or set analysis&amp;gt; Amount)).&lt;BR /&gt;I don't have time for an example now.&amp;nbsp; Will get to it later, unless somebody else gives you an example before that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: See atachment, chart 4.&amp;nbsp; I think it is very close to your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371835#M138226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-02T13:51:30Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371836#M138227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Vitul, see new attachment in my post above.&amp;nbsp; I'm not sure you're notified without this additional post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 23:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371836#M138227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-02T23:46:07Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371837#M138228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi thnx for your solution....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ihave 1 more problem in my document....when i am using a calculated dimension...the raanking is done on the basis of a column named membercount and the totals and all others must be calculated on the basis of salary...i am having problem in executing that condition in the expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help asap....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Vitul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 11:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371837#M138228</guid>
      <dc:creator />
      <dc:date>2012-05-03T11:27:07Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371838#M138229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not a problem at all.&amp;nbsp; You can use rank based on one expression in any other expression.&amp;nbsp; In general, it may like this (using my earlier example): &lt;/P&gt;&lt;P&gt;if(rowno()&amp;gt;0,&lt;BR /&gt; &lt;STRONG&gt;&amp;lt;any expression&amp;gt;&lt;/STRONG&gt;,&lt;BR /&gt; sum(if(aggr(rank(sum(Measure),4),Dimension)&amp;lt;5, aggr(&lt;STRONG&gt;&amp;lt;any expression&amp;gt;&lt;/STRONG&gt;,Dimension),0))&lt;BR /&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 17:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371838#M138229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-03T17:38:32Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371839#M138230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; in my case...ist i am pulling a columnn named provider on the basis of a column called ecount...for it i am using calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e aggr(if(rank(sum(ecount/3),4)&amp;lt;51,provider),provider)......i need top 50 provider on the basis of ecount....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in the expression i had to use allowed amount as a measure means i had to sum(amount)...&lt;/P&gt;&lt;P&gt;i am using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(rowno()&amp;gt;0,sum({&amp;lt;quarter={1},year={'P'},key={'A'}&amp;gt;}amount),sum(if(aggr(rank(sum(ECOUNT/3),4),provider)&amp;lt;51,aggr(&lt;/P&gt;&lt;P&gt;sum({&amp;lt;quarter={1},year={'P'},key={'A'}&amp;gt;}amount),0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the problem is that i want to show the sum of total amount for top 50 as well as all others...where i have used&lt;/P&gt;&lt;P&gt;ECOUNT/3&amp;nbsp; this part of expression will evaluate amount for top 50...but how to write it???&lt;/P&gt;&lt;P&gt;in your case you were ranking and evaluating the expression on only 1 measure...here first i am ranking on ecount and then evaluating on the basis of amount......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help asap....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards vitul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 04:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371839#M138230</guid>
      <dc:creator />
      <dc:date>2012-05-04T04:49:13Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371840#M138231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; when i am using the expression according to your suggestionits evaluating 0 for the top50......&lt;/P&gt;&lt;P&gt;i am not able to understand it why????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 06:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371840#M138231</guid>
      <dc:creator />
      <dc:date>2012-05-04T06:03:50Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371841#M138232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is one more requirement in pivot table....i have to add another row membership&amp;nbsp; along with top 50 providers,&lt;/P&gt;&lt;P&gt;total for top50,total of all others and total of all....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the database only top50 are coming....the formula for membership is different.....plz tell me if it is possible in pivot table..if yes...then explain me with an example plz.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HERE FORMULA TO CALCULATE MEMBERSHIP IS DIFFERENT AND REST OF THE FORMULAS ARE SAME AS WE HAVE DISUSSED IN EARLIER DISCUSSIONS...&lt;/P&gt;&lt;P&gt;HOW TO EVALUATE TWO DIIFERENT FORMULAS IN A SINGLE COLUMN THEN??&lt;IMG alt="PIVOT CASE.JPG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/13787_PIVOT+CASE.JPG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 11:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371841#M138232</guid>
      <dc:creator />
      <dc:date>2012-05-04T11:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371842#M138233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vitul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don's see how to add another line, except the same way I described earlier.&amp;nbsp; See charts 5 and 6 in attched - it is a combination of solutions in charts 2 and 4 and 2 and 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;PS: i hope you have enough information&amp;nbsp; now to figure out what is possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2012 18:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371842#M138233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-05T18:59:18Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371843#M138234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi Michael &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used your solution in my approach and i am getting desired results......but i am facing one problem with your solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the situation is like this...&lt;/P&gt;&lt;P&gt;sum(if(aggr(rank(sum(amount),4),provider)&amp;lt;11,aggr(sum(pd_amnt),provider),0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working fine....&lt;/P&gt;&lt;P&gt;but in some cases i have to divide pd_amnt with another measure count...how can i achieve that in aggr function??/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(aggr(rank(sum(amount),4),provider)&amp;lt;11,aggr(sum(pd_amnt),provider)/sum(count),provider),0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used it but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx and regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vitul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 04:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371843#M138234</guid>
      <dc:creator />
      <dc:date>2012-05-17T04:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371844#M138235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Not sure I can get it right without knowing the full picture.&amp;nbsp; Anyway, my guess is:&lt;/P&gt;&lt;P&gt;sum(if(aggr(rank(sum(amount),4),provider)&amp;lt;11,aggr(sum(pd_amnt)/sum(count),provider),0)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 00:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371844#M138235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-18T00:55:19Z</dc:date>
    </item>
    <item>
      <title>very very important....how to add a row in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371845#M138236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; still its not wrking i have tried it.....the report which i am developing in it i have to show the total of top50,total of all other and also total of all of the PD-amnt in the same pivot table....is it fissible in pivot table???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2012 09:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/very-very-important-how-to-add-a-row-in-pivot-table/m-p/371845#M138236</guid>
      <dc:creator />
      <dc:date>2012-05-18T09:41:52Z</dc:date>
    </item>
  </channel>
</rss>

