Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a question.
is it possible to take excel file name as a field.
Actually i have lot of files coming in daily basis. i need a field called "Date" where the date column should read from the file name.
eg. file names (12/02/2009, 1203/2009, . . . .n times)
* I know how to load data from multiple xls files.
Please help me...
Awesome !!!! Thanks a lot. 🙂
Hi Ranjith,
You can use Filename() or Filebasename() function to get the file name of the excels.
-Peterson
HI Kevin,
its working fine, but the problem is, my file name will be in this format (12-Nov-2009).
I just want to change the same file name into 'MM-DD-YYYY' format.
I used the below formula, but its not working properly:
Date
(Filebasename(), 'MM-DD-YYYY') as Date, //this is the formula...Hi,
You can use below code.
Date(Date#(FileBaseName(),'DD-MMM-YYYY'),'MM-DD-YYYY') as Date, // Untested Code
-Peterson
Awesome !!!! Thanks a lot. 🙂