Biml Language Reference
Unpivot Element
The Unpivot transformation creates a more normalized representation of a data set by taking values from multiple columns in the same row and breaking it up into multiple rows with a label column and a column containing the original data value.
Attributes
  Attribute API Type Default Description
AutoPassThrough Boolean
This value specifies whether unspecified columns will automatically be passed through to the output path. The default is True.

[.NET API Property: AutoPassThrough]

LocaleId Language
This value specifies which locale is used by the dataflow task.

[.NET API Property: LocaleId]

Name String
Specifies the name of the object. This name can be used to reference this object from anywhere else in the program.

[.NET API Property: Name]

PivotKeyValueColumnCodePage Int32
This value specifies the code page of the dataflow column referenced by PivotKeyValueColumnName.

[.NET API Property: PivotKeyValueColumnCodePage]

PivotKeyValueColumnDataType DbType
This value specifies the data type of the dataflow column referenced by PivotKeyValueColumnName.

[.NET API Property: PivotKeyValueColumnDataType]

PivotKeyValueColumnLength Int32
This value specifies the length of the dataflow column referenced by PivotKeyValueColumnName.

[.NET API Property: PivotKeyValueColumnLength]

PivotKeyValueColumnName String
This value specifies the name of the dataflow column that will be used for the name of the columns in the unpivoted data. The default is 'PivotKeyValue'.

[.NET API Property: PivotKeyValueColumnName]

PivotKeyValueColumnPrecision Int32
This value specifies the precision of the dataflow column referenced by PivotKeyValueColumnName.

[.NET API Property: PivotKeyValueColumnPrecision]

PivotKeyValueColumnScale Int32
This value specifies the scale of the dataflow column referenced by PivotKeyValueColumnName.

[.NET API Property: PivotKeyValueColumnScale]

ValidateExternalMetadata Boolean
This value specifies whether the data flow transformation is validated against columns that originated in external data sources. When server assets such as tables and stored procedures are created during processing, ValidateExternalMetadata is normally set to False, which prevents validation from completing at compile time.

[.NET API Property: ValidateExternalMetadata]

Singleton Children
  Child API Type Description
<ErrorHandling /> AstComponentErrorHandlingNode
This value specifies how errors are handled by default in columns processed by the component. This can be overriden at the component or column level for specific cases.

[.NET API Property: ErrorHandling]

<InputPath /> AstDataflowInputPathNode
This specifies the input path that will be used by this dataflow component. If an input path is not specified, the dataflow component will attempt to automatically discover an appropriate input path based on the surrounding dataflow.

[.NET API Property: InputPath]

Collection Children
  Child API Type Description
<Annotations>
    <Annotation />
</Annotations>
AstAnnotationNode
This is a collection of annotation items that can be used to specify documentation, tags, or other information. Annotations are particularly useful for storing information about nodes that can be used by BimlScript code.

[.NET API Property: Annotations]

<Columns>
    <Column />
</Columns>
AstUnpivotColumnNode
This is a collection of column mapping definitions that control how individual columns are unpivoted.

[.NET API Property: Columns]

<DataflowOverrides>
    Multiple Choices...
</DataflowOverrides>
AstDataflowOverrideNode
Provides a collection of objects to override properties of the component, its input paths, its output paths, and its consituent dataflow columns.

[.NET API Property: DataflowOverrides]