Bug 190440 Dimensions from same column will affact each other.[1101]
Description: Dimensions from same column will affact each other. Build number:2.2.0.v200706011658 Steps to reproduce: 1. Open attached report. The cube in the report contains "static amount" and "interval amount". 2. Preview the report. 3. Delete interval amount group and preview again. Expected result: Step2 and step 3 display same effect. Actual result: In step2 preview, xtab display effect of "interval amount" level value instead of "static amount" level value. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/AggregationExecutor.java
for ( int i = 0; i < aggregationCalculators.length; i++ )
		{
			DimLevel[] levels = aggregationCalculators[i].aggregation.getLevels( );
			if ( levels == null || levels.length == 0 )
			{
				levelIndex[i] = new int[0];
				continue;
			}
			int[] tmpLevelIndex = new int[levels.length * 2];
			for ( int j = 0; j < tmpLevelIndex.length / 2; j++ )
			{
				tmpLevelIndex[j * 2] = findDimensionIterator( levels[j].getLevelName( ) );
				tmpLevelIndex[j * 2 + 1] = dimesionResultIterators[tmpLevelIndex[j * 2]].getLevelIndex( levels[j].getLevelName( ) );
			}
			levelIndex[i] = tmpLevelIndex;
		}
	}
	
	private void getParameterColIndex( AggregationDefinition[] aggregations ) throws DataException
	{
		List paraColList = new ArrayList( );
		for ( int i = 0; i < aggregations.length; i++ )
		{
			AggregationFunctionDefinition[] functions = aggregations[i].getAggregationFunctions( );
			if( functions == null )
			{
				continue;
			}
			for ( int j = 0; j < functions.length; j++ )
			{