How to consume merged cells data from Excel through ADF

Madhan Chimmili 12 Reputation points
2021-05-21T11:25:15.99+00:00

Please help me how we can read merged cells data from excel in Through Azure data factory

98598-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,647 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Nandan Hegde 36,151 Reputation points MVP Volunteer Moderator
    2021-05-21T11:35:26.84+00:00

    Hey,
    Based on my understanding, there is an option called range in the excel dataset wherein you can mention from which row you want to read the data. So in your case you can start from 2nd row to read the sheet.

    Else you would have to write a custom code for reading and converting the execl via batch job or Azure function etc.

    @PRADEEPCHEEKATLA ,@KranthiPakala-MSFT : any thoughts on this or please correct me if I am wrong

    2 people found this answer helpful.
    0 comments No comments

  2. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2021-05-25T00:01:28.027+00:00

    Hi @Madhan Chimmili ,

    Thanks for your ask and using Microsoft Q&A forum.

    For ADF Excel, it is designed to handle standard tabular data like CSV. If you want to read merged cells, you could try following way to work around it and see if that helps.

    99200-excel.png

    Note: Uncheck “first row as header”, then it will auto generate headers (for example, Prop_0, Prop_1....) for your data.

    If that doesn't fulfill your requirement, an alternate could be writing your own code and using it in Azure Function activity or custom activity as suggested by @Nandan Hegde .

    Hope this info helps. Let us know if you have further query.

    ----------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.