Append data more columns?

@Ajay_Mishra From previous topic
Old req.
I want copy from column A- I , column Y and column J-V

New Req.
I want copy from column A- I , column Y ,column J-V ----> Append to column A
and copy column AA ----> Append to column AM

If I want more copy column AA and append data in column AM in another file.

Please guide me about it.

Please guide me about it.

@Stef_99 Okay, can you share me input file and output file it will be better for me to understand your requirements?

Regards,
Ajay Mishra

1 Like

@Stef_99 Please send it once again

Regards,
Ajay Mishra

@Ajay_Mishra ok , I send to you in message again already.

Thank you

Hey @Stef_99

If you have these many conditions, I suggest you take some time and use the below-mentioned query,

Assign Activity:

dt_Input = dt_Input.DefaultView.ToTable(False,{"All Column Names", "According", "to your requirements"}).AsEnumerable.OrderBy(Function(r) r("Start")).CopyToDataTable

Note: In the above query pass column names according to your arrangement.

This will be easy and you can manage the position for any column!

Below I’m providing you with all the column names that you need as output, for copy-pasting the column names

{"Status","Owner","SR #","SR Service ID","Account","SR Category","SR Sub Category","SR Issue","Detail","SR Detail","SR Product Line","SR Owner Name","Create Division Name","SR Product Type","SR Due","Planned End","Activity #","SR Committed","Account Type","Create ID","Create Name","SR Opened","Planned Start","Activitiy Closed Date","SLA VS Planed Start (day)","SLA VS Opened Date (day)","SLA VS Planed Start Raking","SLA VS Opened Date Raking","Owner_BPR","BAN ","Complaint Month","Investigate Result","āļˆāļģāļ™āļ§āļ™āđ€āļšāļ­āļĢāđŒ / āļ›āļĢāļ°āļŠāļēāļ™āļ‡āļēāļ™","Resolution Type","Complaint Group ","Resolution","Reason āļœāļĨāļāļēāļĢāļ•āļĢāļ§āļˆāļŠāļ­āļš
","Sub -Reason āļœāļĨāļāļēāļĢāļ•āļĢāļ§āļˆāļŠāļ­āļš","Manager Name","Month","Remark 1","Remark 2
āđ€āļ„āļŠāļ›āļĢāļ°āļŠāļēāļ™āļ‡āļēāļ™ āļĢāļ°āļšāļļāļ§āļąāļ™ SR Open āļ§āļąāļ™āļ—āļĩāđˆāļŠāđˆāļ‡āļ›āļĢāļ°āļŠāļēāļ™āļ‡āļēāļ™  āļ§āļąāļ™āļ—āļĩāđˆāļ•āļēāļĄāļ‡āļēāļ™"}

Arrange the columns accordingly and pass in the above LinQ.

Regards,
Ajay Mishra

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.