Bug 211849 [Regression]Grandtotal's results is incorrect
Description: The Grandtotal's result is incorrect in report which is created in v20071204-0800 build, first I think it is data's bug. But the same report created in former build and preview in this build, the result is correct. So may be the crosstab created in today's build is incorrect. Build number: 2.3.0.v20071204-0800 Steps to reproduce: 1, New a crosstab with row and column dimensions 2, Define grandtotals on both row and column dimension 3, Preview Expected result: The grandtotal's result should be correct Actual result: The grandtotal's result is incorrect Error log:
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/olap/api/CubeFeaturesTest.java
IConditionalExpression.OP_EQ,
				"\"CN\"" ) );
		IFilterDefinition filter2 = new FilterDefinition( new ConditionalExpression( "data[\"edge2level1\"]",
				IConditionalExpression.OP_GE,
				"2000" ) );
		cqd.addFilter( filter1 );
		cqd.addFilter( filter2 );
		DataEngineImpl engine = (DataEngineImpl)DataEngine.newDataEngine( DataEngineContext.newInstance( DataEngineContext.DIRECT_PRESENTATION,
				null,
				null,
				null ) );
		this.createCube( engine );
		IPreparedCubeQuery pcq = engine.prepare( cqd, null );
		ICubeQueryResults queryResults = pcq.execute( null );
		CubeCursor cursor = queryResults.getCubeCursor( );
		List columnEdgeBindingNames = new ArrayList( );
		columnEdgeBindingNames.add( "edge1level1" );
		columnEdgeBindingNames.add( "edge1level2" );
		this.printCube( cursor,
				columnEdgeBindingNames,
				"edge2level1",
				"measure1" );
	}
	/**
	 * Filter2, filter out all level11 = CN and level21 > 2000.
	 * 
	 * @throws Exception
	 */
	public void testFilter4( ) throws Exception
	{