DimensionFootnotes Method (R)

.DimensionFootnotes(object,dimPlace,dimName,footnotes). Used to add a footnote to a dimension.

  • The argument object is a reference to the associated BasePivotTable object.
  • The argument dimPlace specifies the type of dimension, using one member from a set of built-in object properties: Dimension.Place.row for a row dimension, Dimension.Place.column for a column dimension, and Dimension.Place.layer for a layer dimension.
  • The argument dimName is the string that specifies the name given to this dimension when it was created by the Append or Insert method.
  • The argument footnotes is a string specifying the footnote.

Example

table = spss.BasePivotTable("Table Title",
                            "OMS table subtype")

BasePivotTable.Append(table,Dimension.Place.row,"row dimension")
BasePivotTable.Append(table,Dimension.Place.column,"column dimension")
BasePivotTable.DimensionFootnotes(table,Dimension.Place.column,
                                  "column dimension","A dimension footnote")