Create Sheets List

Since the Budget data can be spread across multiple sheets in the Excel file, we will need to import data from the individual sheets and consolidate these into one data set.

At first, we will need a list of the sheets in the Excel file. This is obtained with an Import task with a simple SQL query:

  • SELECT * FROM sys.sheets

mceclip0.png

Important: Notice the Query type: Query. (Not Table.)

With the Import task named ExcelSheetsList, we can use the Query Tool to look up the content of the similarly named InMemory table:

mceclip1.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.