Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Dynamic Select to Filter Fields

ChristopherFunnell
6 - Meteoroid

Hello,

 

I am trying to filter out certain fields based on their position (e.g. selecting every field EXCEPT the 4th and 5th fields). These fields are always in the same position but sometimes named differently from my source data. I was thinking a dynamic select tool would work and I would do something like the following:

 

[FieldNumber]!=4 || [FieldNumber]!=5

 

When I do this, I am just getting an error. Is there a workaround or another solution for this?

 

Thanks!

5 REPLIES 5
EddieW
Alteryx
Alteryx

Hi @ChristopherFunnell,

 

Thank you for the post! What about using the combination of 'Record ID' and 'Filter' tools? You can then use a 'Select' tool to deselect the 'RecordId' field.

 

 

Hope this helps! 

Eddie Wong
Customer Support Engineer
Alteryx
ChristopherFunnell
6 - Meteoroid

Hi Eddie,

 

That would work if I needed to identify a specific record, but I need to identify a specific field. Unless I am missing something...

 

 

TylerNa
10 - Fireball

Works for me with this configuration in place. I think you had an OR in place when you needed an AND.

 

Dynamic Select.png

EddieW
Alteryx
Alteryx

@ChristopherFunnell

 

Sorry for the confusion. Yes, @TylerNa is right. I tested with the Dynamic Select tool (see attached workflow) and that works for me as well.

 

Capture.PNG

Capture1.PNG

Capture2.PNG

Eddie Wong
Customer Support Engineer
Alteryx
ChristopherFunnell
6 - Meteoroid

Thank you both!

Labels