Alteryx Designer Desktop Discussions

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

select one column by using keywords in specific column

philosophy22
7 - Meteor

Hello there,

 

My source file is from excel, what i want to do is to select one column from excel by keywords provided.

For example, source file has 4 column with column name - A/B/C/D, there is a control parameter will provide keyword, possibly it will be A or B or C or D. when parameter is B, the tool will select B column data.

philosophy22_0-1648094149079.png

 

And final step will select this column by keyword providing by control parameter and copy this line to excel new sheet.

 

Is there any quick way to solve this problem? Thanks in advance!

 

 

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@philosophy22 
Something like this?

0324-philosophy22.PNG

ArtApa
Alteryx
Alteryx

Hi @philosophy22 - I designed the following app for you:

 

ArtApa_0-1648096556585.png

 

ArtApa
Alteryx
Alteryx

@Qiu - Haha 😁

philosophy22
7 - Meteor

Hi, @Qiu

 

I apply your solution, but alteryx pop up error message like this, i use macro to solve this problem. The variable in red color is what i want to choose to select and copy to new sheet.

 

In this macro, I use your parameter control tool and dynamic select, I set these tools just like you, but cannot run this part in the whole project. I wondering if you can help me? thanks a lot

philosophy22_0-1648114384066.png

philosophy22_1-1648114483895.pngphilosophy22_2-1648114498794.png

 

 

Labels