Download DataTable activities package from UiPath Market place and install it in studio. And then use Transpose DataTable activity to convert Rows to Columns and Vice versa.
I used your both transposed activities and succeeded them. But When I tried to append the transposed datatable(ExtractDT_clm in this case) to “Case Expression2.csv” I failed. I didn’t know why.
I would be very grateful if you could try the attached project below and let me know the solution.
Drag a output datatable activity and pass the input (output of extract table activity) and store it a string.
Put a message box and check if the data ks scrapped correctly.
After transpose activity activity also do the same logic (input of output datatable activity will be output of transpose datatable activity) and check if the values are coming.
And if everything comes correctly use write range activity and write the datatable to excel instead of append CSV (for testing).
Options/Addheaders checked in ‘Write Range’ activity gives one row in result.xlsx correctly. I think it recognizes the data of ExtractDT_clm as header.
Is the excel file contains only headers or it has multiple rows in it?
Just now I noticed, you are getting the datatable extractdt from extract datatable activity,so how many rows and columns you are getting in that datatable,