Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to check if a person has both a January and December balance or not

Deano478
12 - Quasar

Hi Again Community this is my second question today but i'd rather ask and learn from you guys than struggle and get nowhere.

 

I have a list of people and there balances for January and December but I know for certain that some clients have a January balance and not a December balance and vice versa. I'm just wondering how would I check if a person has both a Jan and Dec balance or just one of them.

 

I've attached a dummy sample below of my actual data:

 

CodeNameMonthTotal
1Joe January1893.65
2TomJanuary1815
3TomDecember17736.6
4Mary December22060.5
5LiamJanuary22990
6JamesJanuary6789
7JamesDecember3678
8AvaJanuary900
9AvaDecember6000
10JohnJanaury10000
5 REPLIES 5
Felipe_Ribeir0
16 - Nebula

Hi @Deano478 

 

One way of doing this

 

Felipe_Ribeir0_1-1672836902410.png

 

 

binuacs
21 - Polaris

@Deano478 One way of doing this

 

binuacs_0-1672836889965.png

 

grazitti_sapna
17 - Castor

@Deano478 , You can use summarize tool to get the count of months corresponding to each Name as below:

 

grazitti_sapna_0-1672837070240.png

 

Sapna Gupta
gautiergodard
13 - Pulsar

Hey @Deano478 

Yet another way to approach this one, with a few less tools! 

gautiergodard_1-1672837362315.png

 

Enjoy!

Deano478
12 - Quasar

@Felipe_Ribeir0 @binuacs @grazitti_sapna @gautiergodard  Hi guys sorry for late response I looked at each of your methods and they are all very different but interesting to see how something can be done so many different ways thank you all I learned something new today 

Labels
Top Solution Authors