Bug 182656 The result is incorrect when a level has two parents[07][1101]
Description: The result is incorrect when a level has two parents[07][1101] Build number: 2.2.0.v20070417-0630 Steps to reproduce: -If the bottom level has two parents , we will considered that a invalid fact table. But now the fact table can get the result, and the result is incorrect.
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetIterator.java
}
				ColumnMeta meta = new ColumnMeta( measure.getName( ) );
				
				
				meta.setDataType( DataType.DOUBLE_TYPE );
				resultMetaList.add( meta );
			}
		}
	}
	/**
	 * 
	 * @param query
	 * @param measure
	 * @param function
	 * @return
	 */
	private ScriptExpression populateExpression( QueryDefinition query,
			MeasureHandle measure, String function )
	{
		ScriptExpression se = null;
		
		if ( function == null || function.equals( "sum" ) )
		{
			se = new ScriptExpression( "Total.sum("
					+ measure.getMeasureExpression( ) + ",null,"
					+ query.getGroups( ).size( ) + ")" );
		}
		else if ( function.equals( "count" ) )
		{
			se = new ScriptExpression( "Total.count("