Do I need multiple datasets in ADF when loading multiple sheets from one xls?

geert vanhove 121 Reputation points
2020-11-06T10:46:51.443+00:00

I have 1 xls file with multiple tabs (sheets).
When using 'copy data' in a pipeline, I need to define the Sheet Name in the dataset.
Question: Do I need multiple datasets in ADF when loading multiple sheets from one xls?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,681 questions
{count} votes

Accepted answer
  1. geert vanhove 121 Reputation points
    2020-11-09T11:16:08.417+00:00

    I found the solution myself:

    1. Open the dataset and add a parameter (eg SheetName)
    2. In the connection tab, use dynamic content for sheet name. Choose parameter created in previous step. (eg @dataset().SheetName)
    3. In the copy task, open the source tab and it will ask to fill out the parameter called SheetName.
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.