<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Maybe you could calculate a 'count' and 'sum' member using VisualTotals, and then divide them.<div><br><div apple-content-edited="true">
<div>Julian</div><br class="Apple-interchange-newline">

</div>
<br><div><div>On May 13, 2013, at 4:57 AM, Ati Rosselet &lt;<a href="mailto:ati.rosselet@gmail.com">ati.rosselet@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>oops... sent too soon.. sorry.<br>No..&nbsp; here we calculate inline as part of the "with" statement. e.g.:<br><br>member [Account].[LSYH].[Project %] as '([Account].[LSYH].[Direct result] / [Account].[LSYH].[Revenues])', FORMAT_STRING = "0.0%"<br>
<br></div>other values in the rows are plain numbers, so their summing into VT is perfectly ok.<br></div>Any Ideas? <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 13, 2013 at 1:52 PM, Paul Stoellberger <span dir="ltr">&lt;<a href="mailto:p.stoellberger@gmail.com" target="_blank">p.stoellberger@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is the measure you are talking about an AVG aggregator value? Meaning the percentages are stored as numbers in the fact table and then you create an AVG measure on top of that?<br>

If so VisualTotals() should calculate it fine, in the end its just calling Aggregate() on the children<br>
<br>
If not, schema / MDX would help<br>
<br>
-Paul<br>
<br>
On May 13, 2013, at 1:28 PM, Ati Rosselet &lt;<a href="mailto:ati.rosselet@gmail.com">ati.rosselet@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt; We are using visual totals in out mdx, but have an element which is a percentage value, and which we would like to show as avg &nbsp;of the visible percentages as opposed to sum (I can't offhand think of a situation where one would want to SUM percentages... ).<br>

&gt;<br>
&gt; Is there any way of getting visual totals to avg certain elements as opposed to summing them? &nbsp;Or any suggestion as to how this could be set up?<br>
&gt; Thanks<br>
&gt; Ati<br>
&gt; _______________________________________________<br>
&gt; Mondrian mailing list<br>
&gt; <a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
&gt; <a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br>
_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
</blockquote></div><br></div>
_______________________________________________<br>Mondrian mailing list<br><a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>http://lists.pentaho.org/mailman/listinfo/mondrian<br></blockquote></div><br></div></body></html>