We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Creating Pivot Table in the middle of the flow

MelGibson
10 - Fireball

New to Alteryx and first time poster to any board 😉

 

I have a very large data set the files that are brought together can be over 700k rows and after I find the unique values I need to determine if the number has only one 2nd client number. This will further reduce the data. Currently I can reduce it to 275K rows, but with this find I then can reduce it to about 37K rows. Making this a much easier data set to work with. Currently I use pivot tables to narrow it down along with formulas, but it clocks and clocks. Just putting it all together has crashed my excel. I love Alteryx cause I can bring it all together in less than 2 minutes. 

 

I appreciate the help. I am attaching my Alteryx build and my excel current output on one tab and the output I am looking for on the other tab. 

 

I hope I did this right and I am posting in the right place

4 REPLIES 4
JoeS
Alteryx Alumni (Retired)

I think you just need a unique tool at the end.

 

Like the attached:

2019-12-19_16-42-43.png

 

The output you added seems to have a State Number 2nd Client Number of

TX192517001

 

But I can't find that in the example you uploaded?

MarqueeCrew
20 - Arcturus
20 - Arcturus

@MelGibson ,

 

I would use a SUMMARIZE tool and GroupBy the 2nd client number and Count that field.  Next I would FILTER the results to Count = 2 (for those that have exactly 2).  Next I would JOIN the original data to this FILTER (True) output joining on 2nd client number.  UNCHECK all of the RIGHT fields.

 

Now you only get results with 2 rows.

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
MelGibson
10 - Fireball

Joe - You sir are a Rock Star!!!!! This perfect and I will mark this as solved. Thank you for the quick response. I learned something new, which is always good in my book. 

 

JoeS
Alteryx Alumni (Retired)

@MelGibson wrote:

Joe - You sir are a Rock Star!!!!! This perfect and I will mark this as solved. Thank you for the quick response. I learned something new, which is always good in my book. 

 


Great stuff, I wasn't sure if I had missed something or not, with the fact that one record wasn't there.

 

Always happy to help!

Labels
Top Solution Authors