Bug 211833 [Regression]Can not select Measures in Crosstab's Group Level filter
Description: [Regression]Can not select Measures in Crosstab's Group Level filter Build number: 2.3.0.v20071204-0800 Steps to reproduce: 1, New a crosstab 2, New a Group level filter on crosstab 3, Select Measure in Filter Condition Expected result: The measures of crosstab should be in the list Actual result: The Measures are empty
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/CubeQueryUtil.java
/*
	 * @see org.eclipse.birt.report.data.adapter.api.ICubeQueryUtil#getReferableBindings(java.lang.String, org.eclipse.birt.data.engine.olap.api.query.ICubeQueryDefinition, boolean)
	 */
	public List getReferableBindings( String targetLevel,
			ICubeQueryDefinition cubeDefn, boolean isSort )
			throws AdapterException
	{
		try
		{
			List bindings = cubeDefn.getBindings( );
			if ( bindings == null )
				return new ArrayList( );
			DimLevel target = OlapExpressionUtil.getTargetDimLevel( targetLevel );
			List result = new ArrayList( );
			for ( int i = 0; i < bindings.size( ); i++ )
			{
				IBinding binding = (IBinding) bindings.get( i );
				Set refDimLevel = OlapExpressionCompiler.getReferencedDimLevel( binding.getExpression( ),
						bindings,
						isSort );
				if ( refDimLevel.size( ) > 1 )
					continue;
				if ( !refDimLevel.contains( target ) )
				{
					List aggrOns = binding.getAggregatOns( );
					if( aggrOns.size( ) == 0 )
					{
						if ( isGrandTotal( binding ) && isSort )
							continue;
						if ( this.getReferencedMeasureName( binding.getExpression( ) ) != null )