Start Free Trial

Alteryx Designer Desktop Discussions

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

SUMIFS Functionality Across Varying Time Dimensions

lhedrick
5 - Atom

Hello Community, I've browsed through several threads related to replicating Excel's SUMIFS function in Alteryx, but haven't been able to find any solutions that seem to work for my use case. Essentially, I'm trying to calc year-to-date, quarter-to-date, month-to-date & week-to-date sales given a transaction date for each row (the period end date) and period beginning dates for year/quarter/month/week.

 

The attached file has the transaction date in column A, sales that need summed in column C, period beginning dates in columns H-K, and the summary calcs I need to produce in columns L-O (easy to do in Excel, but I can't quite seem to replicate in Alteryx).

 

I think the solution has something to do with utilization of filter/summarize/multi-row tools, but I'm struggling to find the right combo. Any help would be greatly appreciated!

 

 

 

4 REPLIES 4
apathetichell
20 - Arcturus

Four different running total tools (one after another) - set your group by to your year/quarter/month/week start vaiables... rename fields after each runnint total tool.

Qiu
21 - Polaris
21 - Polaris

@lhedrick 
same as @apathetichell with a quick sample as below.

0619-lhedrick-r0.png

lhedrick
5 - Atom

Thank you @apathetichell and @Qiu! Just what I was looking for - knew there was a simple solution I just wasn't envisioning!

Qiu
21 - Polaris
21 - Polaris

@lhedrick 
Good to know it works.
Actually your data is well formed that is why we can use just simple RunTotal tool.

Labels
Top Solution Authors