Bug 207825 Crosstab gives wrong default for Totals on Count
xtab/org.eclipse.birt.report.item.crosstab.core/src/org/eclipse/birt/report/item/crosstab/core/de/internal/DimensionViewTask.java
ICubeQueryDefinition cubeQueryDefn = null;
		DataRequestSession session = null;
		try
		{
			session = DataRequestSession.newSession( new DataSessionContext(
					DataSessionContext.MODE_DIRECT_PRESENTATION ) );
			cubeQueryDefn = CrosstabModelUtil.createBindingQuery( crosstab );
			retList = session.getCubeQueryUtil( ).getReferencedLevels(
					targetLevel, bindingExpr, cubeQueryDefn );
		}
		catch ( Exception e )
		{
			dimensionView.getLogger( ).log( Level.WARNING, e.getMessage( ), e );
		}
		return retList;
	}
	private String getLevelHandle( ILevelDefinition levelDefn )
	{
		assert crosstab != null;
		String levelName = levelDefn.getName( );
		String dimensionName = levelDefn.getHierarchy( ).getDimension( )
				.getName( );
		DimensionViewHandle dimension = crosstab.getDimension( dimensionName );
		assert dimension != null;
		LevelViewHandle level = dimension.findLevel( levelName );
		return level.getCubeLevelName( );
	}
}