For the complete documentation index, see llms.txt. This page is also available as Markdown.

Transpose Utility Function

Transpose

Converts columns to rows against the selected key. Select the following inputs:

  • Key Column — remains constant in the result set and repeats per data column type.

  • Data Columns — the columns to transpose as rows.

  • Column for transposed Data field — the name of the column that will contain the pre-transpose column names.

  • Column for transposed Data field value — the name of the column that will contain the pre-transpose column values.

For example, consider the dataset below:

ID

City

State

1

San Jose

California

2

San Diego

California

3

Detroit

Michigan

Applying Transpose with Key as ID, Data Columns as City and State, Column for transposed data field as New_Field, and Column for transposed Data field value as Field_Value produces:

ID

New_Field

Field_Value

1

City

San Jose

1

State

California

2

City

San Diego

2

State

California

3

City

Detroit

3

State

Michigan

Last updated