Hi Khimlal, Tulsi ,
Thankyou for using Microsoft Q&A platform and thanks for posting your query here.
As per my understanding you are trying to merge rows having header in excel into single header . However , it is not just one step process , we need to perform data transformation on the source dataset. Additionally, in your scenario , test1,test2, and test3 needs to be converted to project1 test1, project1 test2, project1 test3 and the next set of columns : test4,test5 and test6 to be converted to project2 test4, project2 test5 and project2test .
- Add Source transformation and point the dataset to the source excel file. Remove 'First row as header'
- Add Filter transformation and provide this expression:
!startsWith({_col0_},'Project')
- Add derived column transformation and add column pattern to replace test1 with project1 test1 and so on with other
- Add sink transformation and in dataset select 'first row as header'
Hope it helps. Kindly accept the answer by clicking on Accept answer
button. Thankyou