<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Put a CellFormatter on it and test it again:<br><br>public class TestCF implements mondrian.olap.CellFormatter {<br>&nbsp;&nbsp;&nbsp; public String formatCell(Object val) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  return val == null ? "null" : val.getClass().toString()+"@"+System.identityHashCode(val);<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>Then use it in the schema (I don't think it works on a per-query basis):<br><p>A cell formatter modifies the behavior of <code>
<a href="http://mondrian.pentaho.com/api/mondrian/olap/Cell.html#getFormattedValue%28%29">
Cell.getFormattedValue()</a></code>. The class must implement the<code><a href="http://mondrian.pentaho.com/api/mondrian/olap/CellFormatter.html"><span style="font-family: times new roman,new york,times,serif;"> </span>mondrian.olap.CellFormatter</a></code> interface, and is specified like this:</p>

<blockquote>
  <code>&lt;<a href="http://mondrian.pentaho.com/documentation/schema.php#XML_Measure">Measure</a> name="name" formatter="com.acme.MyCellFormatter"/&gt;</code>
</blockquote><br>Michael<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Message d'origine ----<br>De : John V. Sichi &lt;jsichi@gmail.com&gt;<br>À : Mondrian developer mailing list &lt;mondrian@pentaho.org&gt;<br>Envoyé le : Mercredi, 24 Janvier 2007, 10h21mn 26s<br>Objet&nbsp;: Re: Re : Re : [Mondrian] Re:VirtualCubeTest.testCalculatedMemberAcrossCubesfailing on SMP<br><br><div>michael bienstein wrote:<br>&gt; <br>&gt; John,<br>&gt; Try "#.00;;Nil".<br>&gt; Michael<br><br>Result is the same (completely blank):<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #1: 5,895<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #1: 4501.0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #1: 76.35%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #1:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #2: 6,065<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #2: 6258.0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #2:
 103.18%<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[java] Row #2:<br>...<br><br>JVS<br>_______________________________________________<br>Mondrian mailing list<br>Mondrian@pentaho.org<br><a target="_blank" href="http://lists.pentaho.org/mailman/listinfo/mondrian">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br></div></div><br></div></div><br>
                <hr size="1"> 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.</body></html>