Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Data summing based on date

ayadav8
8 - Asteroid

Hi,

 

I have a year worth of historical shipment data grouped by shipment dates, origin, and destination city. I am trying to do a sensitivity analysis by combining weights between a common start and end city. Want to combine weights with n days of difference

* For example: combine today's and tomorrow's (1-day difference), or

* combine today and next three days

n days is a variable here. Is there an easy way to do this? 

 

Attaching the sample file. Thanks!

4 REPLIES 4
kat
12 - Quasar

Hi @ayadav8

 

Here's something to get you started

shipping.PNG

 

Cheers

Kat

ayadav8
8 - Asteroid

@kat thanks for replying. I am not able to import the workflow since it's been made on a newer version of alteryx. I see you used DateTimeNow() to get the difference. I actually want to sum the weights using the "Ship Date" column.  Adding the weights wherever the day difference (between ship dates) is n. 

 

ayadav8
8 - Asteroid

I still have the question open. Is there anything that can be done?

ayadav8
8 - Asteroid

Nevermind, I think I got what I needed. I used the multi-row tool to get there.

Labels