Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Workflow improvement

RVDL
8 - Asteroid

Hi All,

 

See my simple workflow attached. I don't like the repetitive joins that I am using.

 

Hopefully it is clear from the workflow that for each ID I want to determine TYPE1_RANK, TYPE2_RANK and TYPE3_RANK.

 

This is just an example. In reality there are also TYPE4, TYPE5, ... up to TYPE10.

 

For each type I now have a join function to determine TYPE#_RANK. I don't like this approach though. Can this be done more efficient / simplified?

 

Thanks.

2 REPLIES 2
ChrisTX
16 - Nebula
16 - Nebula

Try a batch macro.  Under Learn > Academy, check out the Interactive Lessons.  Interactive Lessons - Alteryx Community

 

And under Academy, Videos: search for "batch".  The Video Training Index doesn't include all videos, so use the Search bar to search only Videos. 

  Video Training Index - Alteryx Community

  Build Your First Batch Macro! - Alteryx Community

  Batches Be Solvin’ - Alteryx Community

 

Chris

Christina_H
14 - Magnetar

Depending on what you want to do next, it's much easier to get the ranks by transposing the data first.  But if you need it in the same horizontal format you then need to crosstab everything back.

 

First browse tool is all the ranks vertically, second is back to horizontal.

image.png

Labels