Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter Columns based on headline

df
8 - Asteroid

Hello,

 

I used the "Join Multiple" Tool to put some tables togehter.

I dont need every Columne here (only with "spend" in headline).

I know that i can just uncheck the columnes i dont need but i want a dynamic way.

Something like a filter:

For each Columne

   If contains(<columneheadline>,"spend")

   Then Columne is needed (not filtered)

   Else Columne is unneeded (filtered).

   Endif

Next

 

The Output of "join multiple" looks like this:

datespendInput_#2_dateInput_#2_spendInput_#3_dateInput_#3_spend
..................

 

I tried to use the "transpose" tool with "multi row Formular" tool (and filter).

Then my output looks like this:

spendx
Input_#2_spend...
Input_#3_spend...
spendy
Input_#2_spend...
Input_#3_spend...
spendz

 

But then i have problems to transform it back

the output should look like:

spendInput_#2_spendInput_#3_spend
x......
y......
z......

 

Maybe someone can help :)

2 REPLIES 2
paul_houghton
12 - Quasar

Hi DF,

 

You can use the dynamic select tool with the formula option and drop the condition that you put in.

df
8 - Asteroid

Hey,

 

that was easier than expected - thank you :)

Labels
Top Solution Authors