# Pivot Data

Pivot data turns the unique values within one column of a table into the column name(s) for the resulting column(s).

![](https://lh6.googleusercontent.com/xnbcDxD2psIUGODqH4wCGzv8Lz9Z-bhDRSRDUjAi-tsw7LgHpWKwWnTBT9Cw8flr20O6QAKKaaBdXaf9P_PFHkO5yeYdIFBiykY6v9QIrLdp-zfsOwJ1KNihokBkxWDwbqCQGlaY)

The values within the Person Column are pivoted to be columns in the resulting table.

![](https://72616212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNeedx1J5MWHw1IMemc%2Fuploads%2F5kc6SzcBoLI4Q2SRVuHS%2Fimage.png?alt=media\&token=9ae640a7-13c3-4382-840a-08405e1faad2)

## **Aggregations**

Pivot Data can then perform aggregation calculations on the resulting column values based on the selected aggregation type.

Along with None, the available aggregations include:

* Count&#x20;
* Count (Including Nulls)&#x20;
* Count Distinct&#x20;
* Count Distinct (Including Nulls)&#x20;
* First Value (Ascending or Descending)
* Last Value(Ascending or Descending)
* Sum&#x20;
* Average&#x20;
* Median&#x20;
* Standard Deviation (Partial Sampling or Entire Population)
* Variance (Partial Sampling or Entire Population)

The count functions result in a number value in the generated columns, and the Value functions result in the First or Last value depending on sorting result.

## Implementing Pivot Data

Select the desired column(s) to show as rows. This will maintain the selected column header(s) in the resulting table.

Next, select Column Values to Show as Columns.&#x20;

Input the new column names based on the values within the column. Verb will search the selected column for the matching value and creates a new column using the input value as the column header.

Finally select the value column to display. In the example below, this is the Miles run for the week.&#x20;

![](https://72616212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNeedx1J5MWHw1IMemc%2Fuploads%2FTbWIHLH0R3oU1QpL0sdd%2FMake%20a%20Pivot%20Table.gif?alt=media\&token=2049d8e2-afae-43ee-811b-c15533c0d0f6)
