Alteryx not reading in every cell of data in XLS file
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm reading in a XLS file but some of the records are showing up as NULL even though they are in the data. For example, I'm reading in the following XLS file but the column 'Expiry Date' doesn't show up from the input tool in Alteryx.
edit: It seems to be forcing certain rows to a particular data type. The 'Expiry Date' field is being marked as a DataTime field which causes the field to become NULL.
- Labels:
- Input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@bjschwartz3
So you solved this by yourself.😁
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I still need the text 'Expiry Date' to show up. Is there a way to disable automatic field types for a column?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @bjschwartz3
You can use "First Row Contains Data" option as text field.
If you check the option, all Field will be as String Type fields. Because the field names are text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The problem is the top of the spreadsheet is mostly NULLs so even when that is unchecked, quite a few columns are changed to another format other than V_WString.
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @bjschwartz3
Do you mean the xls file has no header?
If it is true, I don't more no idea.
When the xls file has the header, First Row Contains Data option make the header as data, so all field may be String type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The header is located on row 11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The header is only row 11?
If that is true, I can't think of any other idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We were able to implement this approach inside a Batch macro to resolve this exact issue. Great advice!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Have you tried changing the starting line to 11? You can leave the headers on and change the starting point to record 11. This should fix it for you.
