> 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/new-columns/difference.md).

# Difference

<figure><img src="/files/9IGn0gAUaXOVZphJZU3l" alt=""><figcaption><p>The Difference Action</p></figcaption></figure>

The Difference Action is helpful when you're working with data summarized to some kind of date (day, week, month, year). The Action calculates the difference between rows and outputs a new column. See an example below.

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