The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more 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