I have two separate Alteryx workflows. Each workflow begins with an Input Data tool that reads in an Excel file. Each of these Input tools has 'Output File Name as Field' configured as 'File Name Only'.
In Workflow A, the Input tool returns just the file name.
In Workflow B, the Input tool returns the filename, the .xlsx extension, the 3-pipe sheet delimiter |||, and the sheet name.
What gives?
There are only minor other differences between the two -- none that I could see causing this behavior
Any insight greatly appreciated. Still fairly new to Alteryx. Thanks!
Solved! Go to Solution.
@jlefeaux - thanks for the detailed steps so I could reproduce; it looks like the issue is happening when you have a sheet name with a period (.) in it. As Excel does allow files to be named with a period, I expect this is not intended.
I will have our development team get eyes on this and update the thread.
Awesome, thank you very much!
I will avoid using periods in my sheet names for the time being :)
From a programming standpoint, file extensions are typically determined by pulling all text after the last period in a given filename (unless of course you've gone to the extreme of manually looking for every know file type). On that note, I wouldn't consider this a bug in Alteryx. Best practice would be to not use periods in sheet names, so you've got the right idea there.
@rpaugh -- Thanks for the comment. That makes sense.
Was trying to find a delimiter for time stamp in the sheet name since Excel doesn't allow colons, but I've given up and just gone with %H%M (no delimiter). I'll keep this in mind as a general best practice for future work.