Alteryx Designer Desktop Discussions

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

Union and Data formatting

jay_viz
7 - Meteor

I have data from multiple inputs and trying to combine and format them so that I could use them in the Reporting. I tried to combine using union and it does not work the way I wanted.

 

We are looking at Transport and Healthcare availability in each state and then try to put 1 or 0 for each state based on if the feature is available. Final output I am looking for is in 2 different formats. I have attached the workflow I am building for this.

 

Format 1

 TransportHealthcare
OH01
CA11
NY11
PA01

 

 

Format 2

 FeatureValue
OHTransport0
OHHealthcare1
CATransport1
CAHealthcare1
NYTransport1
NYHealthcare1
PAHealthcare1
5 REPLIES 5
gautiergodard
13 - Pulsar

Hey @jay_viz 

Is the attached what you are trying to do? 

The input files in your workflow are not coming through as they were not packaged. To package a workflow, go to Option -> Export Workflow

gautiergodard_0-1682952667039.png

 

Hope this helps!

jay_viz
7 - Meteor

@gautiergodard  Input is slightly different, I have attached the workflow as package now. Thank you

binuacs
20 - Arcturus

@jay_viz You need to use join tool then union

binuacs_0-1682956576796.png

 

jay_viz
7 - Meteor

@binuacs Thanks, Is there a way to achieve the second format

binuacs
20 - Arcturus

@jay_viz add the transpose tool and configure like below for the second format

binuacs_0-1682980510983.png

 

Labels