Start Free Trial

Alteryx Designer Desktop Discussions

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

Stuck with a Sumif Across 2 datasets

neiledwa
5 - Atom

So I have a set of data that summarises by Period (P1,P2,P3,P4,P5 and P6) that have unique periods I need to sum spend for. The spend data by day is on a separate data set and I cant get my head around how to do it. In excel, its dead easy! But sadly I am new to Alteryx and my brain is still in Excel mode!

2 REPLIES 2
PhilipMannering
16 - Nebula
16 - Nebula

Hi @neiledwa 

The trick here is to generate all the dates and do a join. See attached,

PhilipMannering_0-1640082955183.png

 

messi007
15 - Aurora
15 - Aurora

@neiledwa,

 

I have done this using a Macro batch :

 

1- Filter for each periode and calculate the sum

 

messi007_1-1640084108129.png

 

Run the batch for all periods:

 

 

messi007_0-1640084085916.png

 

Attached the workflow,

Regards,

 

Labels
Top Solution Authors