Bug 207825 Crosstab gives wrong default for Totals on Count
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/action/AddSubTotalAction.java
info.setFunction( tempMeasureHandle.getFunction( ) );
					
					
					
					replaceInfo( info, retValue );
				}
			}
		}
		return retValue;
	}
	private LevelViewHandle getLastLevelViewHandle( int axis )
	{
		DimensionViewHandle viewHandle = getDimensionViewHandle( );
		CrosstabReportItemHandle reportHandle = viewHandle.getCrosstab( );
		int count = reportHandle.getDimensionCount( axis );
		if ( count == 0 )
		{
			return null;
		}
		DimensionViewHandle lastDimension = reportHandle.getDimension( axis,
				count - 1 );
		return lastDimension.getLevel( lastDimension.getLevelCount( ) - 1 );
	}
	private List getGrandTotalInfo( int axis )
	{
		List retValue = new ArrayList( );
		CrosstabReportItemHandle reportHandle = levelHandle.getCrosstab( );
		CrosstabViewHandle crosstabView = reportHandle.getCrosstabView( axis );
		if(crosstabView == null || crosstabView.getDimensionCount( ) == 0)
		{