ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.

Row-to-Row Differences Using Alteryx's "Multi-Row Formula" Tool | Julio Herrera

Hello, I'm Julio Herrera from Via Dei Velutini, Italia. I’d like to share some information and need your assistance. Could you please explain how to use the "Multi-Row Formula" tool in Alteryx to calculate the difference between the current row and the previous row for a numeric field? Additionally, what are some potential use cases for this calculation?

3 REPLIES 3
Kaustubh17
9 - Comet

Hi @julioherreraviadei 

You can use the expression in the Multi-Row Formula Tool `[Value] - [Row-1:Value]`. The `Value` represents the current row, while `Row-1:Value` refers to the previous row, allowing you to calculate the difference between them. This approach is particularly useful for calculating month-over-month sales growth, tracking stock price changes, or identifying temperature differences across consecutive days.

If you need any help please share your exact requirement with sample data so that i can help you.

Best Regards,

Kaustubh

 

 

 

 

 

 

Okay, I will research more about this and get back to you, Thank you for helping!

Qiu
21 - Polaris
21 - Polaris

@julioherreraviadei 
I would recommend to check the sample workflow of Multi-Row Formula tool, it is quite helpful.

Multi-RowFormulaTool.png

Labels
Top Solution Authors