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.
SOLVED

Macro Input + Batch Macro = ?

khoicorn
5 - Atom

Hi guys

 

I'm having some problems with using Macro Input and Batch macro at the same time.

 

I wanna build a macro that will read the XML data which is concatenated in one row as the Macro Input, and then parse the XML data with all the child names from a list by using a Control Param.

khoicorn_0-1626537008663.png

However, the result is just blank. Has anyone faced this issues ? How can I make the Batch macro works for the Macro input ?

khoicorn_2-1626537501815.png

Expected output:

khoicorn_3-1626537740951.png

 

 

 

 

 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @khoicorn 

 

I dont know why that approach is working. I did some trial and error and have now built a working model.

 

Workflow:

atcodedog05_0-1626540883343.png

Macro:

atcodedog05_1-1626540904902.png

 

I am using tranpose tool to generalize the name columns. PS: auto config by position didn't work.

 

Hope this helps : )

khoicorn
5 - Atom

Amazing ! It works like magic. Thank you so much.

 

How it's working with this configuration is still a mystery for me though 🙂

khoicorn_0-1626574956296.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @khoicorn 

 

I can answer on that. Groupby is only required when the groupby column is present both in input data and batch info data. And same columns should be selected from both source in the above config. In this scenario you don't have groupby column in input data hence its should not be used.  

 

Hope this helps : )

Labels
Top Solution Authors