Using Azure data factory, I am trying to read the excel file for the column A to F but number of rows are changing every time. Please help me to define the range dynamically.
Working case : If I give the column range as A1:F9999 it is reading the data specified range.
Not working case: If I give as A1: ( as suggested by microsoft doc) to read all the column and rows from excel, it is not working throwing a below error
"Invalid excel cell range 'A1:' with error 'Index was outside the bounds of the array.'. Index was outside the bounds of the array."
Please help me with any leads
Regards, Rajesh K
Thank You @Nandan
for your suggestion- We have tested in our environment;
Give only A1
in range it scans a table beginning with the specified cell A1
, dynamically detecting all the rows below it and all the columns to the right of it.
If you want specific range of columns, you must have to mention that.
Output
Kindly refer below Microsoft document links for more understanding
is your issue fixed? I am facing the same issue. After changing the range to A5, it can't find the first row as header.
ErrorCode=ExcelInvalidHeader,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Invalid excel header with empty value.,Source=Microsoft.DataTransfer.ClientLibrary,'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.