Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Monthly Savings Workflow

Fiona99
6 - Meteoroid

Hi all,

 

I'm struggling to create a workflow to show Monthly revenue savings based on the previous months data by Item Number. I've Parsed out the dates in the Transpose Tool but can only do this for one Value at a time. I have to show the Monthly savings per Month based on the previous Months cost Increase or Decrease. Sample Data Below if anyone can help. 

invoice datevendor nameitem numberqtyamount 
28/06/2021Fiona 416666202210.8
19/05/2021Fiona 416666303316.2
01/04/2021Fiona 416666151658.09
28/06/2021Fiona q45yq5y101105.4
19/05/2021Fiona q45yq5y51901.6
28/06/2021Fiona 789999104884.2
19/05/2021Fiona 789999209738.4
28/06/2021Fiona q45yq5y50688.5
19/05/2021Fiona q45yq5y1945979.62
28/06/2021Fiona 7899992048399.6
19/05/2021Fiona 35351536299.7
20/07/2021Fiona 5.37E+091638719.68
18/06/2021Fiona q45yq5y3072599.4

 

I'd like to get a result like below with possible % Value also.

 

PartJan Savings Feb SavingsMarch Savings 
41666610666678890000

 

Thanks 

7 REPLIES 7
atcodedog05
22 - Nova
22 - Nova

Hi @Fiona99 

 

Here is how you can do with help of crosstab tool and dynamic rename tool.

 

Workflow:

atcodedog05_0-1633692392911.png

 

Hope this helps : )

Christina_H
14 - Magnetar

I've taken a very similar approach but with you saying the savings were based on the previous month I've used a multi-row formula to calculate the differences.

Christina_Hurrell_0-1633693138472.png

Hopefully between us we've covered what you need!

Fiona99
6 - Meteoroid

Hi, Thanks for that. Sorry I don't think I explained it correctly:

 

I'd have to Divide the Amount paid by Qty per Month to calculate the Price of the Item per Month, then Multiple the price Difference by the Current Month QTY to figure out the savings or non savings we made on that part month by month.

So the aim is to see how much savings we made by month on a certain part on a Month by Month basis.

 

I hope that makes sense.

 

Thanks 

atcodedog05
22 - Nova
22 - Nova

Hi @Fiona99 

 

Can you provide a formula-driven excel so that we get an understanding.

Christina_H
14 - Magnetar

I think I see, here's an updated version.  I've borrowed the dynamic rename from @atcodedog05 to tidy up the column names!

Fiona99
6 - Meteoroid

Thanks very much! 

 

I'll try apply it to my data set and let you know how I got on.

 

Thanks again 

atcodedog05
22 - Nova
22 - Nova

Great job on cracking it @Christina_H ‌‌‌‌ 🙂👍 This one was bit of a confusing one for me 😅

Labels