Hello,
Everything that I do in Alteryx starts from selecting data from SPSS, based on a list of fields.
So my SPSS file would contain "respondent, field1, field2, field3" and I would have a list containing "respondent, field1".
That way I know I can drop field2 and field3.
My conventional selection method (dynamic rename + dynamic select) with some sample data is attached .
Even though technically this works fine, it makes the workflow really slow since the original SPSS file can easily contain 50K fields and I think the entire file is loaded into memory?
At the moment, every time I add or change a tool, I have to wait for like half a minute.
I was wondering if I can query into my spss file without uploading the entire thing and then dropping fields.
I think the dynamic input is what I need, but is it correct that I have to build the "modify sql query" dynamically based on the input fields (like below) and then add this to a batch macro where I update the XML of the dynamic input tool? Could someone help me set this up?
And is it correct that this is more efficient than doing the full input + dynamic rename + dynamic select?

Thanks,
Mikis