Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Calculating difference in sales between multiple dates in the same column

Raiden
5 - Atom

Hi,

 

I've ran a workflow that has an output similar to that of below, that has brought in the sales of multiple companies for different sales methods over different date ranges (which are in the alteryx format).

The output looks as follows, I've also attached the output.

 

I'm having trouble now calculating the difference in sales and type of sales for each company and product between the two dates.

 

Ideally it would show something like Company ABCD - which type of sale it is, the current date and sales figure and then the increase or decrease compared to the previous period.

 

Many thanks

 

Raiden_0-1659563234877.png

 

 

 

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@Raiden 
I thin the tool we are looking for here is the CrossTab tool here.

0804-Raiden.PNG

Raiden
5 - Atom

Hi Qiu,

 

That's exactly what I wanted! Still new to alteryx and couldn't get it to work before and had tried transpose also.

 

Thank you for sending that on!

Qiu
21 - Polaris
21 - Polaris

@Raiden 
Glad to know it helps.

Labels
Top Solution Authors