 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Calculate on total columns</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/calculate-on-total-columns/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/calculate-on-total-columns/</link>
	<description></description>
	<lastBuildDate>Sun, 26 May 2013 01:40:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: deadleaves</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/calculate-on-total-columns/#comment-46508</link>
		<dc:creator>deadleaves</dc:creator>
		<pubDate>Wed, 10 Jan 2007 17:24:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-46508</guid>
		<description><![CDATA[As far as I have ever been able to achieve, you can only do this if col1 and col2 are simple document counts and col1 + col2 = 1. For example, col1 could be the count of docs with, say, fld = x and col2 would be the count of docs where fld != x. I am often counting docs and looking at an on/off status field or some such and wanting to know at each category level the % of docs with the particular status. For example, docs with an actioned field. You want to know at a totals level the % of docs actioned/not actioned.
Anyway, here is how I do this:
Column title:  Doc     Actioned       Percent
               Count   Count          Actioned
Column name:   $Total  $Actioned      $Percent
Formula:       1       @If(fld=x;1;0) $Actioned
Totals type:   Total   Total          Avg per doc
Format:        Number  Number         Percent

This only works because the average per doc is only ever 0 or 1 and so at the category level the average will effectively be the percentage of one column total against the other.
To be able to do this for any value would be great but I haven&#039;t seen an easy way yet. Does v7 possibly offer this feature, anyone?
 ]]></description>
		<content:encoded><![CDATA[<p>As far as I have ever been able to achieve, you can only do this if col1 and col2 are simple document counts and col1 + col2 = 1. For example, col1 could be the count of docs with, say, fld = x and col2 would be the count of docs where fld != x. I am often counting docs and looking at an on/off status field or some such and wanting to know at each category level the % of docs with the particular status. For example, docs with an actioned field. You want to know at a totals level the % of docs actioned/not actioned.<br />
Anyway, here is how I do this:<br />
Column title:  Doc     Actioned       Percent<br />
               Count   Count          Actioned<br />
Column name:   $Total  $Actioned      $Percent<br />
Formula:       1       @If(fld=x;1;0) $Actioned<br />
Totals type:   Total   Total          Avg per doc<br />
Format:        Number  Number         Percent</p>
<p>This only works because the average per doc is only ever 0 or 1 and so at the category level the average will effectively be the percentage of one column total against the other.<br />
To be able to do this for any value would be great but I haven&#8217;t seen an easy way yet. Does v7 possibly offer this feature, anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jline6</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/calculate-on-total-columns/#comment-46509</link>
		<dc:creator>jline6</dc:creator>
		<pubDate>Wed, 10 Jan 2007 14:22:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-46509</guid>
		<description><![CDATA[Thanks for your replies.  Using the programmatic use name did help alot; however when using this only the detail lines got a value and not the group summary.  I got around this by averaging those values for the summary, which is a round about way of getting the percent that I was looking for.  Thanks again.
]]></description>
		<content:encoded><![CDATA[<p>Thanks for your replies.  Using the programmatic use name did help alot; however when using this only the detail lines got a value and not the group summary.  I got around this by averaging those values for the summary, which is a round about way of getting the percent that I was looking for.  Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brooklynegg</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/calculate-on-total-columns/#comment-46510</link>
		<dc:creator>brooklynegg</dc:creator>
		<pubDate>Wed, 10 Jan 2007 10:24:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-46510</guid>
		<description><![CDATA[jline6&#039;s answer is correct, in the sense that you can use another program to reference values in that column using that name. So if you had a web app or Crystal reports and wanted to link to or import from Notes, you could reference the values by that column name. The warning on that tab means that once you have set up reporting, you should not change the name in the box, otherwise your integration would break. We use this when we reference a view and use the data in web applications and make pretty graphs.]]></description>
		<content:encoded><![CDATA[<p>jline6&#8242;s answer is correct, in the sense that you can use another program to reference values in that column using that name. So if you had a web app or Crystal reports and wanted to link to or import from Notes, you could reference the values by that column name. The warning on that tab means that once you have set up reporting, you should not change the name in the box, otherwise your integration would break. We use this when we reference a view and use the data in web applications and make pretty graphs.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.014 seconds using memcached
Object Caching 296/299 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-26 08:11:42 -->