Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am having 10 excel file in one url. (In future it’ll increase or decrease)
All excel files names are different but all having the same structure (Same sheet names and column names)
All excel files having the 3 sheets like Sheet A, B, and C.
I want to load Sheet B only from all excel files through one LOAD statement.
Can anyone please suggest me how to do this???
For example:
Following are 5 sheets and all are having 3 sheets like Sheet A, B, and C.
I want to load Sheet B only from all excel files through one LOAD statement.
(All are dummy url only)
Please Help......
Hi Soha,
For example I'm having these three sheet as below:
Operations Panel ChartsKautex 2013 ABC.xlsx
Operations Panel ChartsKautex 2013 DEF.xlsx
Operations Panel ChartsKautex 2013 AXZ.xlsx
mention below is the link which will help you to call all the sheets (Condition you should have similar column names inside for all of them)
In this link I'm calling 'P' as vaiable having values ABX, DEF,AXZ....etc
Thanks,
AS
Hi Soha,
See the attachment.
Thanks,
AS
It works for me Soha. I had similar situation to load the data from files of different month like Apr.xls, May.xls. You have to copy all the files at the same location and then run a for loop with the filename .
Hello Amit,
Can you please let me know where we need to assign value in variable 'P'.
In your case you didn't assign any value in variable 'P'.
How it fetch all the data from different excel file???
Thanks for you reply...
Soha,
You have to create a vairable in your application and assign value as in my case it should be ABC,DEF,AXZ to read all these three sheet from one link.
Thanks,
AS
If you can provide some sample files I'll try to build a load script for you.