code: function getShownDimensions(item, dimensions, fullDimensions) {
    return dimensions.filter(function(dimension, i) {
      return (
        item._suppressedIds.indexOf(dimension.id) === -1 &&
        // note the logic of the next line is repeated in calculateDimensionRequestString
        (fullDimensions[i].values.length > 1 ||
          item.forceShowDimensionIds.indexOf(dimension.id) >= 0) &&
        item.aggregatedDimensionIds.indexOf(dimension.id) === -1
      );
    });
  }
docs: Return dimensions, but removing: - suppressed dimensions, - dimensions with only one value in fullDimensions (unless they are in the force-show list) - aggregated dimensions. Dimensions and fullDimensions must have the same ordering of dimensions.