Bug 192829 Aggregation binding filter doesn't work for crosstab
The filter condition on bindings for Crosstab doesn't take effect. Currently Dte hasn't supported this yet.
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/olap/data/impl/CubeAggregationTest.java
ISelection[][] filter = new ISelection[1][1];
		filter[0][0] = SelectionFactory.createRangeSelection(  new Object[]{"1"},
				 new Object[]{"3"},
				true,
				false );
		cubeQueryExcutorHelper.addFilter( new LevelFilter(dimLevel21, filter[0]) );
		
		IBinding level21_sum = new Binding( "level21_sum" );
		level21_sum.setAggrFunction( IBuildInAggregation.TOTAL_SUM_FUNC );
		level21_sum.setExpression( new ScriptExpression( "measure[\"measure1\"]" ) );
		level21_sum.addAggregateOn( "dimension[\"dimension2\"][\"level21\"]" );
		level21_sum.addAggregateOn( "dimension[\"dimension3\"][\"level31\"]" );
		
		cubeQuery.addBinding( level21_sum );
		
		ScriptExpression expr = new ScriptExpression( "data[\"level21_sum\"]>2" );
		CubeFilterDefinition cubeFilter = new CubeFilterDefinition( expr );
		cubeFilter.setTargetLevel( level21 );		
		
		
		DimensionFilterEvalHelper dimfilter = new DimensionFilterEvalHelper(baseScope, cubeQuery, cubeFilter);
		cubeQueryExcutorHelper.addJSFilter( dimfilter );
		AggregationDefinition[] aggregations = new AggregationDefinition[1];
		int[] sortType = new int[]{
				IDimensionSortDefn.SORT_ASC, IDimensionSortDefn.SORT_ASC
		};
		DimLevel[] levelsForFilter = new DimLevel[]{
				dimLevel21,dimLevel31
		};