Hi, i have a datatable dt which needs to transposed to do further operation.
input dt:-
output dt:-
As you can see in the transpose datatable I dont need the “Mapping” column and the column headers from the input dt.
Hi, i have a datatable dt which needs to transposed to do further operation.
input dt:-
output dt:-
As you can see in the transpose datatable I dont need the “Mapping” column and the column headers from the input dt.
I had tried this but wasn’t able to understand.
@SunnyJha
Give a try at this starter help
Variables:
Flow:
kwr = dtData.DefaultView.ToTable(False, {"Keyword"})
Add DataColumn Details:
dtTransposed =
(From i In Enumerable.Range(0, dtData.Columns.Count).Skip(2)
Let ra = dtData.AsEnumerable.Select(Function (x) x(i)).ToArray
Select r = dtTransposed.Rows.Add(ra)).CopyToDataTable
Hi @SunnyJha
You can use the below workflow also:
Sequence:
Sequence51.xaml (10.9 KB)
Input:
Input 7.xlsx (9.5 KB)
Screenshot:
Regards
Thanks Petr. I made some modifications on your logic and its working as per my need. Thanks again!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.