Hi, I'm running into an issue, and I have no idea how to begin resolving it.
I am trying to make a standard macro that can take catalogs of product data, with some catalogs having up to 65,000 rows. I need this as a macro, because the logic needs to be used across three different workflows. The first five rows of data are header rows that I don't need, so I'm trying to use the Select Records tool to drop them. When I use it, though, the tool doesn't seem to work.
This is how I have the tool configured:
This is info from the tool's input view - I'm starting with 57,046 records, like I'm supposed to:
And this is info from the same tool's output view - suddenly 41,923 records:
I have no idea why 15,123 records are being dropped. From what I understand, how I have the tool configured should grab everything starting from the sixth row and ending at the very last row. I need to verify at which row the output starts, but the one header row I'm trying to keep is completely missing, so I assume the offset is from the beginning of the data.
There is only so much information I can share beyond this, just because a lot of the data is proprietary, but I would be happy to answer any questions I can. I tried looking for this same issue through Google, and I wasn't able to find anything.
Hi @Parkreiner,
That is a weird one, could you try using the sample tool method to see if you get similar issues?
Input:
Output:
Use the "Skip 1st N rows" option and set N =5
I've attached my workflow for you to download if needed!
Kind regards,
Jonathan
Could you recreate the issue with mock data so we can test it also? If you can recreate the issue with mock data I think this is something that needs to be reported by emailing support@alteryx.com to bring to their attention!
The sample tool works perfectly. I might have to use that for the time being.
I'm now checking to see if I can make some mock data and get the part of the macro extracted, while still preserving the issue.
All right, I've tried a few things. I should have mentioned this in the original post, but these issues are happening with Excel (.xlsx) files.
Again, I've had no issues with getting the files to work in my original workflows, and those were all using the Input Data tool. The issues only reared their heads after I started trying to use the Macro Input tool. The only thing I can think of that could be affecting things is that the files do each have an embedded image – a company logo. I don't know if that would cause things to break this much, though.
And to be clear, I'm having these issues when I have most of the tools removed, and this is the entire set of logic:
I really wish I could just share the files, but they don't even belong to my company.
Hi @Parkreiner
This appear to be an issue when using the Select Records tool and the Amp engine. With Amp, the records are batched for multiprocessing, but it looks like the Select Records tool is dropping the first 5 record from each batch of records removing the first 11620 rows of data. If you switch to the original engine the Select Records tool works correctly.
Still something that you should report to Alteryx. At the very least they could update their Amp compatibility page. to remove the Select Records from the list of fully converted tools
As @Jonathan-Sherman suggested the Sample tool works correctly in both cases
Note that the attached sample is a workflow as opposed to a macro, but the AMP issue occurs in both.
Dan