Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic Input Field Matching

rcoogan
5 - Atom

I am combining previous forecasts to compare changes. Over time, a few field names have been added/delete/renamed. Of the 10 files found in the folder, only the CurrentVersion (which is the template) was imported and the others all get warnings saying xxx.hyper has a different number of fields than the 1st file in the set and will be skipped. There is a select tool to rename the ones that have been renamed. I want all others to show up, where available, and if not present, still import and union the rest of the fields. What did I do wrong? I also have a field mapping file that I have attached if necessary, but I don't know how to employ it in the flow. 

The data is clearly getting past the input tool, is it just not writing?

2 REPLIES 2
KGT
13 - Pulsar

I imagine that the Dynamic Input will skip the files with different metadata as it doesn't fit the template. In this situation, the easiest option is to change to a Batch Macro.

 

Take a look at these links and there is a ton of posts on the community around using a Batch Macro for Input, often for Excel files, but this should be simpler.

 

 

dreldrel
8 - Asteroid

One way you can do it is to have a text input with your expected columns and one empty blank row, then use a union tool for the last step to make sure you have consistent columns. Hope this helps, feel free to like the comment

Labels
Top Solution Authors