简体   繁体   中英

Read two columns alone from an excel in Azure Data Factory

I have my data in excel file and I am able to read the whole sheet. But I want to read only first column and third column. I have headers in the excel. So I need to read values from A2 and from C2.

I tried reading https://learn.microsoft.com/en-us/azure/data-factory/format-excel . But unable to find a way. Any ways to read these two columns alone. Can any help me what values I have to specify in range. Many thanks!

在此处输入图像描述

Source file with 4 column

1个

Select the column that you want from and Click om Insert Pivot table and grab the range

2个

Then open the Source dataset and paste that range and preview the data.

3个

Configure the sink and publish your pipeline. Hope, You got your answer.

Maybe this can be a workaround.

screenshot of dataflow:

在此处输入图像描述

1.create two source in dataflow,range of first source: A1:A5 ,another: C1:C5 (row num should be same)

2.create two SurrogateKey,give the key column,and start value should be same.

3.create join,setting like below: 在此处输入图像描述

4.create select,delete the column you don't need(sk),then you can do some transform or something else.

data preview: 在此处输入图像描述

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