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/AbstractCrosstabModelTask.java
leftAxisType );
			if ( function != null )
				return function;
			return getAggregationFunction( measureView,
					rightLevelView,
					rightAxisType );
		}
		String function = null;
		function = getAggregationFunction( measureView,
				rightLevelView,
				rightAxisType );
		if ( function != null )
			return function;
		return getAggregationFunction( measureView, leftLevelView, leftAxisType );
	}
	/**
	 * Gets the aggregation function by the level view.
	 * 
	 * @param measureView
	 * @param levelView
	 * @param axisType
	 * @return
	 */
	private String getAggregationFunction( MeasureViewHandle measureView,
			LevelViewHandle levelView, int axisType )
	{
		
		if ( levelView == null )
			return crosstab.getAggregationFunction( axisType, measureView );