We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Capture field names to pass to Multi Row Formula

jwycoff1
6 - Meteoroid

I would like to add on to Find Changes in database extracts

 

This worked for me, but I have to code a new expression every time the input file changes, and potentially , the number of names can be 100 or more.

 

Is there a simple way to capture the field names of the input file, then generate the expression? Using variable substitution?

I'm not seeing how batch macro would work.

 

Something like

 

   IIF([$Field1]!=[Row-1:$Field1], "$Field1;","") +

  

 

Doing variable substitution so,

 

   IIF([Field1]!=[Row-1:Field1], "Field1;","") +

   IIF([Field2]!=[Row-1:Field2], "Field2;","") +

 

 

Thanks!

 

--JJW

 

2 REPLIES 2
jasperlch
12 - Quasar

Hi, you could make use of the Transpose tool to make your workflow more dynamic

 

Capture.PNG

jwycoff1
6 - Meteoroid

Exactly what I was hoping for! Elegant and simple. THANK YOU!!!

Labels
Top Solution Authors