简体   繁体   中英

Excel file with multiple row of column headers and blank columns in Data Factory?

I have an Excel file as source in Data Factory which has multiple rows for column headers and blank columns as separators. May I know what would be the best approach to transform this dataset into a single dataset?

在此处输入图像描述

My idea is to make it like:

Header 1 Subhead 1 Header 1 Subhead 2 Header 2 Subhead 3 Header 2 Subhead 4

But I don't know how to realize it :(

Also I have blank columns which I delete manually in Select function. Is there any way I can select columns in the Dataset options?

There is an option to skip lines, so just skip 2 lines on the copy activity with excel as the source. Then you can manually name the fields in the mapping tab of the copy activity according to your want (Header1 sub1, Header1 sub2, Header2 sub1, Header2 sub2, etc). I'll post a picture tomorrow, but that should work for you.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM