Hi. I am importing an Excel (xls, not xlsx) with the first 10 rows containing some basic, unstructured description of the data/file. The real data, about 20+ columns, start after that. When I read the Excel in, I noticed that cells with length exceeding 256 characters do not seem to be imported - they end up being blank.
If I remove those first 10 rows manually the data imported fine. But I'd rather not do that as I need to bulk import multiple file with the same structure. May I know if there's any work around?
Thanks in advance!
Solved! Go to Solution.
When you are configuring an excel file input it's possible to set the important line within the 'options', 7: Start Data Import on Line.
I think if you know that this number of rows is consistent to skip, then set this to that number (say 10, as outlined in your example), then I imagine you won't get the subsequent issue.
Ben
Thanks for the prompt reply!
Unfortunately there doesn't seem to be such an option in the config. I believe importing csv gives that option, but seems not for xls. Attached is a screenshot of the config panel.
Hi @ansonwun,
You can try the sample tool instead which will allow you to skip the first n records in the file:
I'd also suggest that if you are using the wildcard import for bulk importing, you include the filename in the import process...and then use the grouping function in the sample tool (grouped on filename) to make sure it imports correctly.
Part time Tableau, Part Time Alteryx. Full Time Awesome
Arr,
Sorry, the option also exists for .xlsx files but not .xls, of course if you can convert them then fine but I'm under the assumption you cannot in which case I would use @LordNeilLord's method and understand whether records are still truncating or not.
Ben
Sorry, the option also exists for .xlsx files but not .xls, of course if you can convert them then fine but I'm under the assumption you cannot in which case I would use @LordNeilLord's method and understand whether records are still truncating or not.
Ben
Thanks both for the prompt reply.
I tried the Sample Tool but the imported cell still appears to be blank. In fact I dropped the Browse tool right after the Input Data tool, and saw that the cell is already blanked out...
Hey @ansonwun,
Try this configuration:
I'm not sure why it works but it does!
Part time Tableau, Part Time Alteryx. Full Time Awesome