Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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