Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Assign a merged column as column name to all rows

murthybhs
8 - Asteroid

I have multiple files that have the format below:

murthybhs_0-1619648874870.png

Each file has a different "Start Date". I would like to assign "Start Date" as a column to all the records in the file and assign "Department" as a column to the employees that belong to a particular department. I want to consolidate all the files in the folder (I've been using wildcards in Input Data tool) and want my data to look as below: Note: Other files have a different Start Date and Department names.

 

murthybhs_1-1619648992299.png

I've been trying all kinds of things since the past few days but nothing seems to work. There might be some logic that I am missing. Any help on this is highly appreciated. Thank you everyone in the community for your constant support.

1 REPLY 1
apathetichell
20 - Arcturus

You use a multi-row formula which matches each value which contain department. it replicates that value in the new field and carries it down row to row until the new value is found.

 

Attached  is the basic logic of how it works.

Labels
Top Solution Authors