Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to select column automatically based on header name

SahadhKuruniyan
8 - Asteroid

I have an excel file with 60 columns, I have to compare whether the balance amount in this excel file matches with amounts in excel provided by sub-teams(60 different files).

The master file looks like below:

 Team 1Team 2Team 3Team 4Team 5
Cash5387768743
Bank 435568743
Expense343554343
Rent5487237

I am planning to run the flow 60 times by inputting each file from sub teams 60 times (Kindly advise if there are better ways)

Instead of selecting the column from the master file each time using the select tool. Is there any other way to select the column automatically, if we give the column header "Team 1" as Text input.

 

format of file submitted team would look like below:

 Entity 3
Cash76
Bank 56
Expense5
Rent7

 

Appreciate an response 🙂

Thanks in advance

3 REPLIES 3
Chantelb
9 - Comet

 Hi @SahadhKuruniyan,

 

You can input all the sub team files at once using a wildcard (*) with a data input tool and compare it to the master. The sub team files must have the same schema (format), similarly named and in the same folder using this method. See workflow attached. 

 

Let me know if this helps

SahadhKuruniyan
8 - Asteroid

Thanks alot! Could you help me with one more issue?

I have the table like the below

file nameAccountDifference
Team 1Cash0
Team 1Bank 4
Team 1Expense2
Team 1Rent5
Team 2Cash1
Team 2Bank 0
Team 2Expense1
Team 2Rent0
Team 3Cash0
Team 3Bank 0
Team 3Expense0
Team 3Rent0

 

I want to convert like the below.

AccountTeam 1Team 2Team 3
Cash010
Bank 400
Expense210
Rent500

 

Can anyone please help 🙂

Sasidharg
7 - Meteor

Hello,

 

Workflow to  convert the table is attached,

Best,
Sasidhar

Labels