PivotTransformation Class TIBCO Spotfire 7.6 API Reference
Pivots tall-skinny data into short-wide data.
Pivot is based on identity columns and category columns, where each distinct identity denotes a row and each distinct category together with aggregation method and value column denotes a column in a result matrix of data cells. Each cell is the aggregated result of all data values having same identity and category. Additional transfer columns may exist only holding values aggregated over identity, not by category.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataDataTransformation
    Spotfire.Dxp.Data.TransformationsPivotTransformation

Namespace: Spotfire.Dxp.Data.Transformations
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(6, 0)]
public sealed class PivotTransformation : DataTransformation

The PivotTransformation type exposes the following members.

Constructors

  NameDescription
Public methodPivotTransformation
Public constructor.
Top
Methods

  NameDescription
Public methodConnect
Connect to the input reader, a DataRowReader can then be retrieved from the DataTransformationConnection.
(Inherited from DataTransformation.)
Protected methodConnectCore
Connect to the input reader, a DataRowReader can then be retrieved from the DataTransformationConnection.
(Inherited from DataTransformation.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGenerateDataHistoryCore
Create detail information for the DataTransformation. See DataHistoryBuilder for more information on how to add detailed information to the data history.
(Inherited from DataTransformation.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyCategoryColumns
Category columns values are used for grouping data into result columns. There will be an aggregated result data column for each distinct combined value of the Category columns.
Public propertyCategorySeparator
The category separator to be used when combining category values for value column names.
Public propertyIdentityColumns
Identity columns are passed through and identify each row of the result data.
Public propertyLoadReport
Gets the PartialDataLoadReport that can be used to report errors during connection.
(Inherited from DataTransformation.)
Public propertyName
Gets the display name of the transformation.
(Inherited from DataTransformation.)
Public propertyResultNamingExpression
Naming expression for the aggregated result data columns. This naming expression is a string containing placeholder to be replaced with values during Pivot as follows:
%M is replaced with the aggregation method name (empty string for None).
%V is replaced with the value column name.
%C is replaced with a concatenated list of category values separated by Category separator.
Public propertySortRules
Rules for how result columns should be sorted. See SortRule.
Public propertyTransferColumns
TransferColumns are aggregated over the identity columns and stored into result transfer columns. See ColumnAggregation.
Public propertyTransferNamingExpression
Naming expression for the aggregated transfer result columns. This naming expression is a string containing placeholder to be replaced with values during Pivot as follows:
%A is replaced with the aggregation method name (empty string for None).
%T is replaced with the transfer value column name.
Public propertyTypeId
Gets the type identifier for the data source.
(Inherited from DataTransformation.)
Public propertyValueColumns
Each value column data is aggregated over identity columns and category columns and stored into the result data columns. See ColumnAggregation.
Top
Remarks

if only identity columns are specified the result of this Pivot transformation will be a disitinct values of the identity columns.

if only identity and transfer columns are specified the result of this Pivot transformation will be an aggregation of the transfercolumns over the identity columns.

Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference