DimensionFootnotes Method (Python)

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

  • The argument dimPlace specifies the type of dimension, using one member from a set of built-in object properties: spss.Dimension.Place.row for a row dimension, spss.Dimension.Place.column for a column dimension, and spss.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 footnote is a string specifying the footnote.

Example

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

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