> For the complete documentation index, see [llms.txt](https://resources.less.tech/less-tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resources.less.tech/less-tech/modelling/action-guides/reshape/pivot.md).

# Pivot

<figure><img src="/files/lc0L4GBgrvsqNP6LBf1d" alt=""><figcaption><p>The Pivot Action</p></figcaption></figure>

The Pivot Action is similar to a PivotTable in Excel. It helps you flip your dataset and transform some of your row observations into columns. The video below walks through a simple example.&#x20;

{% embed url="<https://loom.com/share/c34f658ba98c4c318fde6eeae346a0ee>" %}
