Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

The highly anticipated Alteryx Community tradition is back! We hope you'll join us!

Learn More
We will be upgrading the Gallery to our 2019.4 release this Saturday, December 7th beginning at 9:00am MT. We expect the outage to take last approx. 2.5 hours.

Return difference between sales data of consecutive months

Hi All,

I need to calculate the difference between sales data of consecutive months. I have attached the input files and output file. Kindly help me with a workflow to achieve the same.

Input files-1) Data_Jan

                 2) Data_Feb

Output File- output


Alteryx Certified Partner

Hi @sraddhadurga ,


Something like this?



If I've answered your question please consider marking this solution as accepted. Thank you!

Alteryx Certified Partner
Alteryx Certified Partner

Hi @sraddhadurga 


Here's a dynamic solution for your case. The flow is a bit large, but it basically fits if you have any number of months and files to add.


The only I thing I didn't do is to put columns in proper order in an automated way. But that's possible too, it would just make the flow larger.

To make it work, you need to change the input tool to put your Data_Month file. Don't forget to change the "Month" part to an asterisk (*), this will be your wildcard to union files.


Please let me know if you have any doubts.



Alteryx Partner

Hi @sraddhadurga ,

Please try this.





Thank You!

Thank You so much!