Alteryx Designer Desktop Discussions

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

SUM/COUNT values for every year in a time span

timol
8 - Asteroid

Dear all,

 

I have the following data structure

 

A112.01.2020
A212.01.2020
A2312.01.2020
A2112.01.2019
A2112.01.2018
A2112.01.2015
A2112.01.2015
B2312.01.2019
B4212.01.2020
B2312.01.2019
C112.01.2019

 

Now I would like to just sum the values in the second column for every year 2015-2020 to get this output

I would like to accumulate values in every year.

But (for whatever reason) one company has only values for 2015, 2018, 2019 and 2020.

I still want to have values for 2017-2019.

 

A201542
A201642
A201742
A201863
A201984
A2020110

 

 

Does anyone have an idea how to do that in Alteryx?

Thank you so much!

 

13 REPLIES 13
timol
8 - Asteroid

Thank you so much for your help

 

In the end I would like to do this for 3000 companies

So is there a way to do this automatically?

afv2688
16 - Nebula
16 - Nebula

Hello @timol ,

 

It could be automated if you have some kind of conditions that we can apply (or a table or place where we could get the data from)

 

Unless you have that you would need to do it manually

 

Regards

 

timol
8 - Asteroid

Hello

 

the only Table I have available is the one below

But I think this covers all necessary information

 

 

CompanyFounded Certificates Date
A2015112.01.2020
A2015212.01.2020
A20152312.01.2020
A20152112.01.2019
A20152112.01.2018
A20152112.01.2015
A20152112.01.2015
B20192312.01.2019
B20194212.01.2020
B20192312.01.2019
C2016112.01.2020
C2016212.01.2020
C20162312.01.2020
C20162112.01.2019
C20162112.01.2018
C20162113.01.2018
C20162114.01.2018
afv2688
16 - Nebula
16 - Nebula

Hello @timol ,

 

this should do it then

 

Regards

Labels