code: public static void createDimensionsColumnCrosstab(final List<CrosstabDimension> crosstabDimensions,
              final Crosstab<Number> partialCrosstab) {
          if (partialCrosstab != null) {
              final List<CrosstabDimension> dimensions = partialCrosstab.getDimensions();
              for (final CrosstabDimension dimension : dimensions) {
                  if (!dimensionExits(crosstabDimensions, dimension)) {
                      crosstabDimensions.add(dimension);
                  }
              }
          }
      }
docs: Add the croosstab dimensions to the list of dimensions
  
  @param crosstabDimensions
  - list of dimensions
  @param partialCrosstab
  - crosstab